.recharge-container {
    padding: 250px 0 24px;
    background: #f5f5f5;
}

.recharge-panel {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.recharge-panel .card-body {
    padding: 18px 18px 16px;
}

.recharge-title,
.recharge-subtitle {
    color: #26374a;
    font-weight: 800;
}

.recharge-title {
    margin-bottom: 24px;
    font-size: 34px;
    line-height: 1.2;
}

.recharge-subtitle {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1.2;
}

.recharge-info {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    padding: 6px 28px;
}

.recharge-info .info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 78px;
    border-bottom: 1px solid #ececec;
}

.recharge-info .info-item:last-child {
    border-bottom: 0;
}

.recharge-info .info-item-stack {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    padding: 16px 0;
}

.recharge-info .info-item-stack .info-label {
    flex-basis: auto;
}

.recharge-info .info-label {
    flex: 0 0 220px;
    margin: 0;
    color: #53606d;
    font-size: 20px;
    font-weight: 600;
}

.recharge-info .info-value {
    color: #1f2e3a;
    font-size: 22px;
    font-weight: 700;
}

.recharge-select-wrap {
    width: 100%;
}

.recharge-select {
    min-height: 54px;
    border: 1px solid #d9dee4;
    border-radius: 8px;
    color: #1f2e3a;
    font-size: 20px;
    font-weight: 700;
}

.recharge-select:focus {
    border-color: #ff7308;
    box-shadow: 0 0 0 0.2rem rgba(255, 115, 8, 0.15);
}

.recharge-qr-section {
    margin-top: 18px;
}

.recharge-qr-section.is-hidden {
    display: none;
}

.recharge-qr-box {
    border: 1px dashed #d5dce3;
    border-radius: 12px;
    background: #fbfcfd;
    padding: 18px;
}

.recharge-qr-placeholder {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f3f7fb 0%, #eef4f8 100%);
    color: #4a5968;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding: 24px;
}

.recharge-qr-image {
    width: min(100%, 360px);
    height: auto;
    display: block;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.recharge-qr-image.is-hidden,
#rechargeQrText.is-hidden {
    display: none;
}

.recharge-qr-meta {
    margin-top: 16px;
    color: #31414f;
    font-size: 18px;
    font-weight: 600;
}

.recharge-qr-meta p {
    margin: 0 0 6px;
}

.recharge-divider {
    margin: 24px 0 20px;
}

.recharge-history-table {
    margin-bottom: 0;
    border: 1px solid #ebeff3;
}

.recharge-history-table th,
.recharge-history-table td {
    padding: 12px 14px;
    font-size: 17px;
    vertical-align: middle;
}

.recharge-history-table thead th {
    border-bottom: 1px solid #dde4ea;
    background: #f7f9fb;
    color: #324454;
    font-weight: 700;
    white-space: nowrap;
}

.recharge-history-table tbody td {
    color: #304150;
    border-top: 1px solid #eef2f5;
}

.recharge-type-badge {
    font-size: 14px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}

.type-recharge {
    background: #d6f5df;
    color: #15673b;
}

.type-member {
    background: #ffe6b8;
    color: #8a5a00;
}

.type-ruby {
    background: #d8ecff;
    color: #0f5e9c;
}

.type-default {
    background: #eceff3;
    color: #465564;
}

.recharge-amount-cell {
    font-weight: 700;
    white-space: nowrap;
}

.amount-positive {
    color: #1c7c42;
}

.amount-negative {
    color: #c23a2b;
}

.recharge-actions {
    margin-top: 18px;
}

.recharge-action-btn {
    min-height: 54px;
    border: 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.btn-back {
    background: #747d86 !important;
    color: #fff !important;
}

.btn-back:hover,
.btn-back:focus,
.btn-back:active {
    background: #747d86 !important;
    color: #fff !important;
    box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.1);
}

@media (max-width: 767.98px) {
    .recharge-container {
        padding-top: 156px;
        padding-bottom: 20px;
    }

    .recharge-panel .card-body {
        padding: 16px 14px 12px;
    }

    .recharge-title {
        font-size: 28px;
    }

    .recharge-subtitle {
        font-size: 23px;
    }

    .recharge-info {
        padding: 0 14px;
    }

    .recharge-info .info-item {
        min-height: 68px;
        gap: 10px;
    }

    .recharge-info .info-label {
        flex-basis: 145px;
        font-size: 17px;
    }

    .recharge-info .info-value,
    .recharge-select {
        font-size: 19px;
    }

    .recharge-qr-placeholder {
        min-height: 140px;
        font-size: 19px;
    }

    .recharge-qr-meta {
        font-size: 16px;
    }

    .recharge-history-table th,
    .recharge-history-table td {
        font-size: 15px;
        padding: 10px 12px;
    }

    .recharge-action-btn {
        font-size: 21px;
    }
}

@media (max-width: 575.98px) {
    .recharge-info .info-item {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 14px 0;
    }

    .recharge-info .info-label {
        flex-basis: auto;
    }
}
