/* Tabs CSS */
.credit-tab {
    background: none;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #555;
}
.credit-tab.active {
    border-bottom: 2px solid #2e4eff;
    color: #2e4eff;
}
.credit-tab-content {
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

b, strong {
    font-weight: 500 !important;
}
span.used {
    font-weight: bold;
}
#wpwrap {
    background-color: #f6f9fc !important;
}
span.right-text {
    float: right;
    font-size: small;
}
.plan-section p {
    margin: 6px;
}
.plan-block strong {
    font-size: large;
    font-weight: 600;
}
.plan-block {
    display: flex;
    flex-direction: row;
    margin-left: 30%;
}
.plan-block p {
    margin: 7px 10px;
}
.wp-die-message, p {
    line-height: unset !important;
}
.credit-block p {
    font-size: medium;
    display: flex;
    flex-direction: row;
    align-content: space-between;
    text-align: center;
    margin: 8px;
    padding: unset;
}
.credit-block {
    display: flex;
    border: 1px solid #80808033;
    justify-content: space-between;
    height: 35px;
    margin: 22px 0px;
    background-color: aliceblue;
    border-radius: 10px;
    padding: 10px;
    line-height: unset;
}
p.credit-title {
    color: #2b3de2;
    font-size: 20px;
    text-align: center;
    margin-top: 10px;
}

/* second style block from the page (paid-plan UI) */
.credit-card {
    width: 180px;
    background: #f9f9ff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}
.credit-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.credit-header {
    padding: 10px 0;
    background: #f1f5f9;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #e0e7ff;
}
.credit-body {
    padding: 16px;
    text-align: center;
}
.credit-icon {
    width: 16px;
    vertical-align: middle;
    margin-right: 4px;
}
.credit-value {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.credit-meta {
    font-size: 12px;
    color: #6b7280;
}
.credit-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #f1f5ff, #ffffff);
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #dbeafe;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.credit-block:hover {
    box-shadow: 0 4px 12px rgba(46, 66, 255, 0.1);
}
.credit-block .credit-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
}
.credit-block p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}
.credit-block strong {
    color: #2e4eff;
    font-weight: 600;
}
