/* ================= RESET ================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

:root {

    --primary-color: #2563eb;

    --primary-dark: #1d4ed8;

    --secondary-color: #06b6d4;

    --accent-color: #7c3aed;

    --page-background: #eef4ff;

    --card-background: #ffffff;

    --soft-blue: #dbeafe;

    --text-dark: #172033;

    --text-light: #64748b;

    --border-color: #e2e8f0;

    --container-width: 540px;

    --small-shadow: 0 5px 15px rgba(37, 99, 235, 0.08);

    --card-shadow: 0 12px 30px rgba(30, 64, 175, 0.15);

}

html {

    scroll-behavior: smooth;

}

body {

    min-height: 100vh;

    overflow-x: hidden;

    background: #dce7f8;

    color: var(--text-dark);

    font-family: Arial, Helvetica, sans-serif;

}

button,

input,

a {

    font-family: inherit;

    -webkit-tap-highlight-color: transparent;

}

button {

    border: none;

    outline: none;

    cursor: pointer;

}

a {

    color: inherit;

    text-decoration: none;

}

/* ================= RECHARGE APP ================= */

.recharge-app {

    width: 100%;

    max-width: var(--container-width);

    min-height: 100vh;

    margin: 0 auto;

    overflow: hidden;

    background: #f8fafc;

}

/* ================= RECHARGE HEADER ================= */

.recharge-header {

    position: sticky;

    top: 0;

    z-index: 100;

    display: grid;

    grid-template-columns: 50px 1fr 50px;

    align-items: center;

    min-height: 82px;

    padding: 12px 18px;

    background:

        linear-gradient(

            135deg,

            var(--primary-color),

            var(--secondary-color)

        );

    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.12);

}

.recharge-header h1 {

    color: #ffffff;

    font-size: 25px;

    font-weight: 800;

    text-align: center;

}

.back-button {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    border-radius: 50%;

    color: #ffffff;

    font-size: 24px;

    transition:

        transform 0.2s ease,

        background-color 0.2s ease;

}

.back-button:active {

    background: rgba(255, 255, 255, 0.2);

    transform: scale(0.92);

}

/* ================= BALANCE HERO ================= */

.balance-hero {

    position: relative;

    min-height: 350px;

    padding: 145px 18px 0;

    overflow: hidden;

    background:

        linear-gradient(

            145deg,

            var(--primary-color),

            var(--secondary-color)

        );

}

.balance-hero::before {

    position: absolute;

    top: -160px;

    left: -100px;

    width: 330px;

    height: 330px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    content: "";

}

.balance-hero::after {

    position: absolute;

    right: -120px;

    bottom: -130px;

    width: 300px;

    height: 300px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);

    content: "";

}

/* ================= DECORATIVE COINS ================= */

.coin-decoration {

    position: absolute;

    top: 63px;

    right: 35px;

    z-index: 5;

    width: 135px;

    height: 110px;

}

.coin {

    position: absolute;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 5px solid rgba(255, 255, 255, 0.65);

    border-radius: 50%;

    color: #ffffff;

    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.22);

}

.coin-one {

    top: 0;

    left: 4px;

    z-index: 2;

    width: 77px;

    height: 77px;

    background:

        linear-gradient(

            135deg,

            var(--accent-color),

            var(--primary-color)

        );

    font-size: 29px;

    transform: rotate(-14deg);

}

.coin-two {

    right: 0;

    bottom: 0;

    width: 72px;

    height: 72px;

    background:

        linear-gradient(

            135deg,

            var(--secondary-color),

            var(--primary-color)

        );

    font-size: 25px;

    transform: rotate(17deg);

}

/* ================= BALANCE CARD ================= */

.current-balance-card {

    position: relative;

    z-index: 4;

    min-height: 190px;

    overflow: hidden;

    padding: 30px 25px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 20px 20px 0 0;

    background:

        linear-gradient(

            135deg,

            #172033,

            #334155

        );

    color: #ffffff;

    box-shadow: var(--card-shadow);

}

.current-balance-card::before {

    position: absolute;

    top: -90px;

    right: -65px;

    width: 210px;

    height: 210px;

    border-radius: 50%;

    background: rgba(6, 182, 212, 0.12);

    content: "";

}

.current-balance-card::after {

    position: absolute;

    bottom: -1px;

    left: 50%;

    width: 25px;

    height: 25px;

    background: #f8fafc;

    content: "";

    transform: translate(-50%, 55%) rotate(45deg);

}

.balance-content {

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

}

.current-balance {

    font-size: 42px;

    font-weight: 800;

}

.balance-label {

    margin-top: 11px;

    color: #cbd5e1;

    font-size: 14px;

    font-weight: 700;

}

.balance-detail-button {

    position: absolute;

    right: 0;

    bottom: 28px;

    z-index: 4;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-width: 120px;

    min-height: 50px;

    padding: 10px 18px;

    border-radius: 28px 0 0 28px;

    background: #0f172a;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

}

/* ================= RECHARGE MAIN ================= */

.recharge-main {

    padding: 38px 18px 40px;

    background:

        linear-gradient(

            180deg,

            #f8fafc,

            #eff6ff

        );

}

/* ================= AMOUNT OPTIONS ================= */

.amount-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

}

.amount-option {

    min-height: 78px;

    padding: 12px 6px;

    border: 2px solid transparent;

    border-radius: 15px;

    background: #ffffff;

    color: var(--text-dark);

    font-size: 17px;

    font-weight: 800;

    box-shadow: var(--small-shadow);

    transition:

        transform 0.2s ease,

        border-color 0.2s ease,

        background-color 0.2s ease,

        color 0.2s ease;

}

.amount-option:active {

    transform: scale(0.95);

}

.amount-option.active {

    border-color: var(--primary-color);

    background: var(--soft-blue);

    color: var(--primary-color);

}

/* ================= CUSTOM RECHARGE ================= */

.custom-recharge-section {

    margin-top: 45px;

}

.custom-recharge-section h2,

.payment-method-section h2 {

    color: var(--text-dark);

    font-size: 21px;

    font-weight: 800;

}

.custom-input-wrapper {

    position: relative;

    margin-top: 17px;

}

.input-currency {

    position: absolute;

    top: 50%;

    left: 20px;

    color: var(--primary-color);

    font-size: 21px;

    font-weight: 800;

    transform: translateY(-50%);

}

.custom-input-wrapper input {

    width: 100%;

    min-height: 77px;

    padding: 18px 20px 18px 48px;

    border: 2px solid transparent;

    border-radius: 15px;

    outline: none;

    background: #ffffff;

    color: var(--text-dark);

    font-size: 17px;

    font-weight: 700;

    box-shadow: var(--small-shadow);

    transition:

        border-color 0.2s ease,

        box-shadow 0.2s ease;

}

.custom-input-wrapper input::placeholder {

    color: #94a3b8;

    font-size: 14px;

    font-weight: 600;

}

.custom-input-wrapper input:focus {

    border-color: var(--primary-color);

    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);

}

/* Remove number input arrows */

.custom-input-wrapper input::-webkit-inner-spin-button,

.custom-input-wrapper input::-webkit-outer-spin-button {

    margin: 0;

    appearance: none;

    -webkit-appearance: none;

}

.minimum-deposit {

    margin-top: 10px;

    color: var(--text-light);

    font-size: 14px;

    font-weight: 700;

}

.minimum-deposit strong {

    color: var(--primary-color);

}

/* ================= PAYMENT METHODS ================= */

.payment-method-section {

    margin-top: 37px;

}

.payment-method-list {

    display: flex;

    gap: 13px;

    margin-top: 17px;

    flex-direction: column;

}

.payment-option {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    min-height: 75px;

    padding: 16px 22px;

    border: 2px solid transparent;

    border-radius: 15px;

    background: #ffffff;

    cursor: pointer;

    box-shadow: var(--small-shadow);

    transition:

        border-color 0.2s ease,

        background-color 0.2s ease;

}

.payment-option input {

    position: absolute;

    width: 1px;

    height: 1px;

    opacity: 0;

    pointer-events: none;

}

.payment-name {

    color: var(--text-dark);

    font-size: 16px;

    font-weight: 700;

}

.payment-name small {

    color: var(--secondary-color);

    font-size: 13px;

}

.radio-mark {

    display: flex;

    flex: 0 0 31px;

    align-items: center;

    justify-content: center;

    width: 31px;

    height: 31px;

    border: 2px solid #cbd5e1;

    border-radius: 50%;

    background: #ffffff;

    color: transparent;

    font-size: 13px;

    transition:

        border-color 0.2s ease,

        background-color 0.2s ease,

        color 0.2s ease;

}

.payment-option:has(input:checked) {

    border-color: rgba(37, 99, 235, 0.35);

    background: #eff6ff;

}

.payment-option input:checked ~ .radio-mark {

    border-color: var(--primary-color);

    background:

        linear-gradient(

            135deg,

            var(--primary-color),

            var(--secondary-color)

        );

    color: #ffffff;

}

/* ================= PAYMENT BUTTON ================= */

.go-payment-button {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 68px;

    margin-top: 28px;

    border-radius: 35px;

    background:

        linear-gradient(

            135deg,

            var(--primary-color),

            var(--secondary-color)

        );

    color: #ffffff;

    font-size: 19px;

    font-weight: 800;

    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.25);

    transition:

        transform 0.2s ease,

        box-shadow 0.2s ease;

}

.go-payment-button:active {

    transform: scale(0.97);

    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.2);

}

/* ================= RESPONSIVE ================= */

@media (min-width: 600px) {

    .recharge-app {

        box-shadow: 0 0 40px rgba(15, 23, 42, 0.15);

    }

}

@media (max-width: 440px) {

    .recharge-header {

        min-height: 74px;

        padding-right: 13px;

        padding-left: 13px;

    }

    .recharge-header h1 {

        font-size: 22px;

    }

    .balance-hero {

        min-height: 325px;

        padding: 135px 13px 0;

    }

    .coin-decoration {

        top: 55px;

        right: 22px;

        transform: scale(0.87);

    }

    .current-balance-card {

        min-height: 175px;

        padding-right: 20px;

        padding-left: 20px;

    }

    .current-balance {

        font-size: 36px;

    }

    .recharge-main {

        padding-right: 13px;

        padding-left: 13px;

    }

    .amount-grid {

        gap: 10px;

    }

    .amount-option {

        min-height: 70px;

        font-size: 14px;

    }

    .custom-recharge-section h2,

    .payment-method-section h2 {

        font-size: 19px;

    }

    .custom-input-wrapper input {

        min-height: 70px;

        font-size: 16px;

    }

    .payment-option {

        min-height: 70px;

        padding-right: 16px;

        padding-left: 16px;

    }

    .payment-name {

        font-size: 14px;

    }

    .payment-name small {

        display: block;

        margin-top: 3px;

        font-size: 11px;

    }

}

@media (max-width: 350px) {

    .amount-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .balance-detail-button {

        min-width: 100px;

    }

    .payment-option {

        padding-right: 12px;

        padding-left: 12px;

    }

}

/* =========================================

   RECHARGE FUNCTIONAL STATES

========================================= */

.amount-option {

    border: 2px solid transparent;

    transition:

        border-color 0.2s ease,

        background-color 0.2s ease,

        transform 0.2s ease;

}

.amount-option.selected {

    border-color: #0ba9c4;

    background: #e6faff;

    color: #087c9e;

    box-shadow: 0 8px 20px rgba(8, 137, 165, 0.14);

}

.amount-option:active {

    transform: scale(0.97);

}

.custom-input-wrapper:focus-within {

    border-color: #0ba9c4;

    box-shadow: 0 0 0 3px rgba(11, 169, 196, 0.12);

}

.payment-option {

    border: 2px solid transparent;

    transition:

        border-color 0.2s ease,

        background-color 0.2s ease;

}

.payment-option.selected {

    border-color: #0ba9c4;

    background: #f0fcff;

}

.recharge-error {

    min-height: 20px;

    margin: 7px 0 0;

    color: #e64343;

    font-size: 13px;

    font-weight: 700;

}

.go-payment-button:disabled {

    cursor: not-allowed;

    opacity: 0.45;

    box-shadow: none;

}

/* Modal */

body.recharge-modal-open {

    overflow: hidden;

}

.recharge-confirm-modal {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: grid;

    place-items: center;

    padding: 20px;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:

        opacity 0.25s ease,

        visibility 0.25s ease;

}

.recharge-confirm-modal.open {

    visibility: visible;

    opacity: 1;

    pointer-events: auto;

}

.recharge-modal-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(2, 22, 31, 0.7);

    backdrop-filter: blur(5px);

}

.recharge-modal-dialog {

    position: relative;

    z-index: 2;

    width: min(100%, 420px);

    padding: 28px 22px 22px;

    border: 1px solid #d9edf3;

    border-radius: 24px;

    background: #ffffff;

    box-shadow: 0 25px 70px rgba(0, 50, 68, 0.3);

    transform: translateY(24px) scale(0.96);

    transition: transform 0.25s ease;

}

.recharge-confirm-modal.open .recharge-modal-dialog {

    transform: translateY(0) scale(1);

}

.recharge-modal-close {

    position: absolute;

    top: 14px;

    right: 14px;

    width: 36px;

    height: 36px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 50%;

    background: #edf8fb;

    color: #49616b;

    font-size: 17px;

    cursor: pointer;

}

.recharge-modal-icon {

    width: 66px;

    height: 66px;

    display: grid;

    place-items: center;

    margin: 0 auto 15px;

    border-radius: 20px;

    background: linear-gradient(135deg, #16c8df, #087d9f);

    color: #ffffff;

    font-size: 27px;

    box-shadow: 0 10px 25px rgba(8, 145, 174, 0.25);

}

.recharge-confirm-modal.success .recharge-modal-icon {

    background: linear-gradient(135deg, #20cf99, #07976d);

}

.recharge-modal-dialog h2 {

    margin: 0;

    color: #16323d;

    text-align: center;

    font-size: 24px;

}

.recharge-modal-dialog > p {

    margin: 9px auto 20px;

    color: #718188;

    text-align: center;

    font-size: 14px;

    line-height: 1.5;

}

.recharge-payment-summary {

    overflow: hidden;

    border: 1px solid #dfedf1;

    border-radius: 15px;

}

.recharge-summary-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    padding: 13px 14px;

    border-bottom: 1px solid #e7f0f3;

}

.recharge-summary-row:last-child {

    border-bottom: 0;

}

.recharge-summary-row span {

    color: #6c7d84;

    font-size: 13px;

}

.recharge-summary-row strong {

    color: #173641;

    font-size: 15px;

}

.recharge-summary-row.bonus-row strong {

    color: #08a879;

}

.recharge-summary-row.total-row {

    background: #effbfe;

}

.recharge-summary-row.total-row strong {

    color: #087d9f;

    font-size: 18px;

}

.recharge-confirm-modal [hidden] {

    display: none !important;

}

.recharge-modal-actions {

    display: grid;

    grid-template-columns: 1fr 1.45fr;

    gap: 11px;

    margin-top: 20px;

}

.recharge-modal-cancel,

.recharge-modal-confirm {

    min-height: 50px;

    border-radius: 14px;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

}

.recharge-modal-cancel {

    border: 1px solid #d6e5e9;

    background: #ffffff;

    color: #61757d;

}

.recharge-modal-confirm {

    border: 0;

    background: linear-gradient(135deg, #14c8df, #087d9f);

    color: #ffffff;

    box-shadow: 0 9px 20px rgba(8, 137, 165, 0.22);

}

.recharge-modal-confirm:disabled {

    cursor: wait;

    opacity: 0.65;

}

@media (max-width: 480px) {

    .recharge-confirm-modal {

        align-items: end;

        padding: 12px;

    }

    .recharge-modal-dialog {

        width: 100%;

        padding: 27px 18px 18px;

        border-radius: 24px 24px 18px 18px;

    }

}

/* =========================================

   RECHARGE DETAIL MODAL

========================================= */

body.recharge-detail-open {

    overflow: hidden;

}

.recharge-detail-modal {

    position: fixed;

    inset: 0;

    z-index: 100001;

    display: grid;

    place-items: center;

    padding: 20px;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:

        opacity 0.25s ease,

        visibility 0.25s ease;

}

.recharge-detail-modal.open {

    visibility: visible;

    opacity: 1;

    pointer-events: auto;

}

.recharge-detail-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(2, 22, 31, 0.72);

    backdrop-filter: blur(5px);

}

.recharge-detail-dialog {

    position: relative;

    z-index: 2;

    width: min(100%, 450px);

    max-height: calc(100vh - 35px);

    overflow-y: auto;

    padding: 28px 20px 20px;

    border: 1px solid #d9edf3;

    border-radius: 24px;

    background: #ffffff;

    box-shadow: 0 25px 70px rgba(0, 50, 68, 0.3);

    transform: translateY(24px) scale(0.96);

    transition: transform 0.25s ease;

}

.recharge-detail-modal.open

.recharge-detail-dialog {

    transform: translateY(0) scale(1);

}

.recharge-detail-close {

    position: absolute;

    top: 14px;

    right: 14px;

    width: 36px;

    height: 36px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 50%;

    background: #edf8fb;

    color: #49616b;

    font-size: 17px;

    cursor: pointer;

}

.recharge-detail-icon {

    width: 64px;

    height: 64px;

    display: grid;

    place-items: center;

    margin: 0 auto 14px;

    border-radius: 19px;

    background: linear-gradient(135deg, #16c8df, #087d9f);

    color: #ffffff;

    font-size: 26px;

}

.recharge-detail-dialog > h2 {

    margin: 0;

    color: #16323d;

    text-align: center;

    font-size: 23px;

}

.recharge-detail-description {

    margin: 8px auto 18px;

    color: #718188;

    text-align: center;

    font-size: 13px;

}

.recharge-detail-statistics {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 9px;

}

.recharge-detail-statistic {

    padding: 13px;

    border-radius: 14px;

    background: #f0fafc;

}

.recharge-detail-statistic span {

    display: block;

    margin-bottom: 5px;

    color: #798a90;

    font-size: 10px;

}

.recharge-detail-statistic strong {

    display: block;

    color: #087d9f;

    font-size: 15px;

    overflow-wrap: anywhere;

}

.recharge-history-section {

    margin-top: 19px;

}

.recharge-history-section h3 {

    margin: 0 0 11px;

    color: #173641;

    font-size: 16px;

}

.recharge-detail-list {

    display: grid;

    gap: 9px;

    max-height: 310px;

    overflow-y: auto;

}

.recharge-detail-record {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px;

    border: 1px solid #e0edf1;

    border-radius: 14px;

}

.recharge-record-icon {

    flex: 0 0 42px;

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background: #e4faf2;

    color: #079b70;

}

.recharge-record-information {

    min-width: 0;

    flex: 1;

}

.recharge-record-information strong {

    display: block;

    color: #173641;

    font-size: 13px;

}

.recharge-record-information small {

    display: block;

    margin-top: 3px;

    color: #89979c;

    font-size: 9px;

    overflow-wrap: anywhere;

}

.recharge-record-amount {

    text-align: right;

}

.recharge-record-amount > strong {

    display: block;

    color: #079b70;

    font-size: 13px;

}

.recharge-record-amount small {

    display: block;

    margin-top: 3px;

    color: #079b70;

    font-size: 9px;

}

.recharge-record-status {

    display: inline-block;

    margin-top: 4px;

    padding: 3px 6px;

    border-radius: 999px;

    background: #e1f8ef;

    color: #079b70;

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;

}

.recharge-record-status.pending {

    background: #fff3d9;

    color: #d58a0a;

}

.recharge-record-status.failed {

    background: #ffe7e5;

    color: #df514a;

}

.recharge-detail-empty {

    padding: 30px 15px;

    text-align: center;

}

.recharge-detail-empty i {

    margin-bottom: 11px;

    color: #a9dce5;

    font-size: 40px;

}

.recharge-detail-empty h3 {

    margin: 0 0 5px;

    color: #37545e;

    font-size: 17px;

}

.recharge-detail-empty p {

    margin: 0;

    color: #8a989d;

    font-size: 11px;

}

.recharge-detail-done {

    width: 100%;

    min-height: 49px;

    margin-top: 19px;

    border: 0;

    border-radius: 14px;

    background: linear-gradient(135deg, #14c8df, #087d9f);

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

}

@media (max-width: 480px) {

    .recharge-detail-modal {

        align-items: end;

        padding: 12px;

    }

    .recharge-detail-dialog {

        width: 100%;

        padding: 27px 17px 18px;

        border-radius: 24px 24px 18px 18px;

    }

}

/* =========================================

   INR / USDT RECHARGE WALLET SWITCHER

========================================= */

.recharge-wallet-switcher {

    margin-bottom: 30px;

}

.recharge-wallet-tabs {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 6px;

    padding: 6px;

    border-radius: 18px;

    background: #e8f2f9;

}

.recharge-wallet-tab {

    min-height: 58px;

    padding: 10px 12px;

    border: 2px solid transparent;

    border-radius: 14px;

    background: transparent;

    color: var(--text-light);

    font-size: 16px;

    font-weight: 800;

    transition:

        background-color 0.2s ease,

        border-color 0.2s ease,

        color 0.2s ease,

        box-shadow 0.2s ease;

}

.recharge-wallet-tab.selected {

    border-color: rgba(37, 99, 235, 0.1);

    background: #ffffff;

    color: var(--primary-color);

    box-shadow: 0 7px 18px rgba(30, 64, 175, 0.1);

}

.recharge-wallet-tab[data-recharge-currency="USDT"].selected {

    border-color: rgba(14, 165, 164, 0.14);

    color: #078b8a;

}

.recharge-wallet-tab:focus-visible {

    outline: 3px solid rgba(37, 99, 235, 0.28);

    outline-offset: 2px;

}

.recharge-wallet-note {

    margin-top: 12px;

    color: var(--text-light);

    font-size: 13px;

    line-height: 1.5;

}

#inrRechargePanel[hidden],

#usdtRechargePanel[hidden],

.balance-detail-button[hidden] {

    display: none !important;

}

.current-balance {

    overflow: hidden;

    font-size: clamp(29px, 8vw, 42px);

    line-height: 1.15;

    text-overflow: ellipsis;

    white-space: nowrap;

}

.usdt-recharge-panel {

    min-height: 430px;

}

.usdt-setup-card {

    padding: 28px 24px 24px;

    border: 1px solid #c8e9ee;

    border-radius: 24px;

    background:

        linear-gradient(

            145deg,

            #f1fdff 0%,

            #ffffff 66%,

            #eef9ff 100%

        );

    box-shadow: var(--small-shadow);

}

.usdt-setup-icon {

    display: grid;

    width: 62px;

    height: 62px;

    place-items: center;

    border-radius: 19px;

    background: linear-gradient(135deg, #14b8a6, #0891b2);

    color: #ffffff;

    font-size: 30px;

    font-weight: 900;

    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.2);

}

.usdt-setup-status {

    display: inline-flex;

    margin-top: 22px;

    padding: 6px 10px;

    border-radius: 999px;

    background: #fff1c8;

    color: #8a5400;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 0.06em;

}

.usdt-setup-card h2 {

    margin-top: 14px;

    color: var(--text-dark);

    font-size: 26px;

    font-weight: 900;

}

.usdt-setup-card > p {

    margin-top: 10px;

    color: var(--text-light);

    font-size: 15px;

    line-height: 1.6;

}

.usdt-network-preview {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 22px;

}

.usdt-network-preview span {

    display: grid;

    min-height: 50px;

    place-items: center;

    border: 1px solid #b9dfe6;

    border-radius: 14px;

    background: #ffffff;

    color: #176477;

    font-size: 14px;

    font-weight: 900;

}

.usdt-security-note {

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin-top: 20px;

    padding: 14px;

    border-radius: 15px;

    background: #eaf7fb;

    color: #476b76;

}

.usdt-security-note i {

    flex: 0 0 auto;

    margin-top: 2px;

    color: #0891b2;

    font-size: 17px;

}

.usdt-security-note p {

    font-size: 13px;

    line-height: 1.5;

}

.usdt-recharge-disabled {

    width: 100%;

    min-height: 62px;

    margin-top: 22px;

    border-radius: 31px;

    background: #d7e4eb;

    color: #6b8290;

    font-size: 16px;

    font-weight: 900;

    cursor: not-allowed;

}

@media (max-width: 440px) {

    .recharge-wallet-tab {

        min-height: 52px;

        padding-right: 7px;

        padding-left: 7px;

        font-size: 14px;

    }

    .usdt-setup-card {

        padding: 23px 18px 20px;

        border-radius: 20px;

    }

    .usdt-setup-card h2 {

        font-size: 23px;

    }

}

/* =========================================

   USDT RECHARGE FORM

========================================= */

.usdt-recharge-form {

    width: 100%;

    margin-top: 24px;

    text-align: left;

}

.usdt-recharge-form .custom-recharge-section {

    margin: 0;

}

.usdt-amount-label {

    display: block;

    margin-bottom: 12px;

    color: #0b2940;

    font-size: 16px;

    font-weight: 800;

}

.usdt-recharge-form .custom-input-wrapper {

    background: #ffffff;

}

.usdt-recharge-form .input-currency {

    color: #14a38b;

    font-weight: 900;

}

.usdt-recharge-form .go-payment-button {

    width: 100%;

    margin-top: 20px;

}

.usdt-recharge-result {

    display: grid;

    gap: 10px;

    width: 100%;

    margin-top: 22px;

    padding: 18px;

    border: 1px solid #a8dfd3;

    border-radius: 18px;

    background: #effbf8;

    text-align: left;

}

.usdt-recharge-result[hidden] {

    display: none !important;

}

.usdt-result-status {

    color: #14806d;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 0.08em;

}

.usdt-recharge-result strong {

    color: #092c43;

    font-size: 14px;

    overflow-wrap: anywhere;

}

.usdt-recharge-result p {

    margin: 0;

    color: #527083;

    line-height: 1.5;

}

@media (max-width: 480px) {

    .usdt-recharge-form {

        margin-top: 20px;

    }

    .usdt-recharge-result {

        padding: 16px;

    }

}

/* =========================================

   USDT RECHARGE HISTORY

========================================= */

.usdt-history-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    margin-top: 18px;

    padding: 15px 18px;

    border: 1px solid #b8dcee;

    border-radius: 16px;

    background: #ffffff;

    color: #126b8c;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

}

.usdt-history-button:hover {

    background: #f2fbff;

}

.usdt-history-button:focus-visible,

.usdt-history-refresh:focus-visible,

.usdt-history-load-more:focus-visible {

    outline: 3px solid rgba(32, 117, 235, 0.25);

    outline-offset: 2px;

}

.usdt-history-panel {

    width: 100%;

    margin-top: 18px;

    padding: 18px;

    border: 1px solid #c9e0ee;

    border-radius: 18px;

    background: #f8fcff;

    text-align: left;

}

.usdt-history-panel[hidden] {

    display: none !important;

}

.usdt-history-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 16px;

}

.usdt-history-header h3 {

    margin: 0;

    color: #092c43;

    font-size: 18px;

}

.usdt-history-refresh {

    display: grid;

    place-items: center;

    width: 38px;

    height: 38px;

    padding: 0;

    border: 1px solid #b8dcee;

    border-radius: 50%;

    background: #ffffff;

    color: #16759a;

    cursor: pointer;

}

.usdt-history-refresh:disabled {

    opacity: 0.55;

    cursor: wait;

}

.usdt-history-message {

    margin: 0;

    color: #587489;

    font-size: 14px;

    line-height: 1.5;

}

.usdt-history-list {

    display: grid;

    gap: 14px;

}

.usdt-history-item {

    padding: 16px;

    border: 1px solid #d7e7f0;

    border-radius: 15px;

    background: #ffffff;

}

.usdt-history-item-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-bottom: 12px;

}

.usdt-history-amount {

    color: #092c43;

    font-size: 17px;

    font-weight: 900;

}

.usdt-history-status {

    padding: 5px 9px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 0.04em;

    text-transform: uppercase;

}

.usdt-history-status.pending,

.usdt-history-status.processing {

    background: #fff4d6;

    color: #a66800;

}

.usdt-history-status.successful {

    background: #dff8ee;

    color: #08745d;

}

.usdt-history-status.failed,

.usdt-history-status.expired,

.usdt-history-status.cancelled {

    background: #ffe5e7;

    color: #b4232c;

}

.usdt-history-details {

    display: grid;

    gap: 8px;

}

.usdt-history-row {

    display: flex;

    justify-content: space-between;

    gap: 15px;

    color: #5d7586;

    font-size: 13px;

}

.usdt-history-row strong {

    color: #173f57;

    text-align: right;

    overflow-wrap: anywhere;

}

.usdt-history-transaction {

    overflow-wrap: anywhere;

}

.usdt-history-load-more {

    width: 100%;

    margin-top: 16px;

    padding: 12px 16px;

    border: 1px solid #9ecce1;

    border-radius: 13px;

    background: #ffffff;

    color: #126b8c;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

}

.usdt-history-load-more[hidden] {

    display: none !important;

}

.usdt-history-load-more:disabled {

    opacity: 0.6;

    cursor: wait;

}

@media (max-width: 480px) {

    .usdt-history-panel {

        padding: 15px;

    }

    .usdt-history-item {

        padding: 14px;

    }

    .usdt-history-item-top {

        align-items: flex-start;

    }

    .usdt-history-row {

        display: grid;

        gap: 3px;

    }

    .usdt-history-row strong {

        text-align: left;

    }

}

/* =========================================

   ADMIN-CONTROLLED CUSTOMER PAYMENT OPTIONS

========================================= */

[hidden] {

    display: none !important;

}

button:disabled {

    cursor: not-allowed;

    opacity: 0.55;

}

button:focus-visible,

a:focus-visible,

input:focus-visible {

    outline: 3px solid rgba(37, 99, 235, 0.45);

    outline-offset: 3px;

}

button,

input,

.recharge-wallet-tabs,

.recharge-wallet-tab,

.payment-method-list {

    min-width: 0;

}

.current-balance-card {

    padding-bottom: 86px;

}

.current-balance {

    max-width: 100%;

    overflow: visible;

    font-size: clamp(26px, 7vw, 40px);

    line-height: 1.25;

    text-overflow: clip;

    white-space: normal;

    overflow-wrap: anywhere;

    font-variant-numeric: tabular-nums;

}

.balance-detail-button {

    bottom: 18px;

}

.payment-method-heading,

.recharge-history-toolbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

}

.payment-method-heading h2,

.recharge-history-toolbar h3 {

    min-width: 0;

    margin: 0;

}

.payment-method-refresh {

    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-height: 44px;

    padding: 10px 12px;

    border: 1px solid #cfdfef;

    border-radius: 12px;

    background: #ffffff;

    color: #2454a0;

    font-size: 12px;

    font-weight: 800;

}

.payment-method-refresh:hover:not(:disabled) {

    background: #eff6ff;

}

.payment-method-message {

    margin: 12px 0 0;

    color: #526780;

    font-size: 13px;

    line-height: 1.55;

    overflow-wrap: anywhere;

}

.payment-method-message:empty,

.receiving-message:empty,

.recharge-copy-status:empty {

    display: none;

}

.payment-method-message[data-state="empty"] {

    padding: 12px;

    border: 1px solid #ead9b1;

    border-radius: 12px;

    background: #fff9ec;

    color: #835614;

}

.payment-method-message[data-state="error"] {

    color: #b42318;

}

.payment-method-note {

    margin-top: 12px;

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.55;

}

.payment-method-list:empty {

    margin-top: 0;

}

.payment-option {

    min-width: 0;

}

.payment-option:focus-within {

    outline: 3px solid rgba(37, 99, 235, 0.4);

    outline-offset: 3px;

}

.payment-option.is-disabled,

.payment-option:has(input:disabled) {

    cursor: not-allowed;

    opacity: 0.55;

}

.payment-method-icon {

    display: grid;

    flex: 0 0 38px;

    width: 38px;

    height: 38px;

    place-items: center;

    border-radius: 12px;

    background: #e8f1ff;

    color: var(--primary-color);

    font-size: 17px;

}

.payment-name {

    flex: 1;

    min-width: 0;

    line-height: 1.35;

    overflow-wrap: anywhere;

}

.payment-name strong {

    display: block;

    font-size: inherit;

}

.payment-name small {

    display: block;

    margin-top: 4px;

    color: #62758d;

    font-size: 12px;

    font-weight: 500;

    line-height: 1.45;

}

.recharge-error {

    line-height: 1.5;

    overflow-wrap: anywhere;

}

.go-payment-button,

.recharge-wallet-tab {

    overflow-wrap: anywhere;

}

.usdt-recharge-panel {

    min-height: 0;

}

.usdt-setup-status {

    background: #dff7ef;

    color: #0b7059;

}

.usdt-setup-card .payment-method-section {

    margin-top: 24px;

}

.usdt-setup-card .payment-method-section h2 {

    margin: 0;

    font-size: 19px;

}

.usdt-setup-card .payment-option {

    min-height: 70px;

    padding: 14px;

    border: 1px solid #d2e3ef;

}

.usdt-setup-card .payment-option.selected,

.usdt-setup-card .payment-option:has(input:checked) {

    border-color: #0c9e9a;

    background: #effcf9;

}

.usdt-setup-card .payment-method-icon {

    background: #dcf7ef;

    color: #087f70;

}

/* =========================================

   SAVED RECEIVING DETAILS AND PAYMENT QR

========================================= */

.recharge-receiving-card {

    width: 100%;

    min-width: 0;

    margin-top: 22px;

    padding: 18px;

    border: 1px solid #cfdfee;

    border-radius: 20px;

    background: #ffffff;

    text-align: left;

    box-shadow: var(--small-shadow);

}

.usdt-recharge-result.recharge-receiving-card {

    display: block;

    border-color: #b8dfd4;

    background: #ffffff;

}

.receiving-card-heading {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 12px;

}

.receiving-card-heading h2,

.usdt-setup-card .receiving-card-heading h2 {

    flex: 1;

    min-width: 0;

    margin: 0;

    color: var(--text-dark);

    font-size: 18px;

    font-weight: 800;

    line-height: 1.35;

}

.receiving-status,

.usdt-recharge-result .usdt-result-status {

    display: inline-block;

    flex: 0 0 auto;

    max-width: 48%;

    padding: 6px 9px;

    border-radius: 999px;

    background: #eef2f7;

    color: #475569;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0;

    line-height: 1.3;

    text-transform: capitalize;

    overflow-wrap: anywhere;

}

.receiving-status.pending,

.receiving-status.processing {

    background: #fff1ce;

    color: #895800;

}

.receiving-status.successful {

    background: #d9f7e9;

    color: #096446;

}

.receiving-status.failed,

.receiving-status.expired {

    background: #fee8e8;

    color: #a42222;

}

.receiving-status.cancelled {

    background: #edf1f6;

    color: #56657a;

}

.receiving-message,

.usdt-recharge-result .receiving-message {

    margin: 12px 0 0;

    color: #546780;

    font-size: 13px;

    line-height: 1.6;

    overflow-wrap: anywhere;

}

.recharge-request-reference {

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    align-items: start;

    gap: 7px 10px;

    margin-top: 16px;

    padding: 12px;

    border: 1px solid #e0e9f3;

    border-radius: 13px;

    background: #f7faff;

}

.recharge-request-reference > span {

    grid-column: 1 / -1;

    color: #687990;

    font-size: 11px;

    font-weight: 700;

}

.recharge-request-reference > strong,

.usdt-recharge-result .recharge-request-reference > strong {

    min-width: 0;

    color: #273a54;

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;

    font-size: 11px;

    line-height: 1.6;

    direction: ltr;

    unicode-bidi: isolate;

    overflow-wrap: anywhere;

    user-select: all;

}

.receiving-copy-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    align-self: start;

    gap: 6px;

    min-height: 44px;

    padding: 8px 10px;

    border: 1px solid #cbdcf0;

    border-radius: 10px;

    background: #ffffff;

    color: #2454a0;

    font-size: 12px;

    font-weight: 800;

    white-space: nowrap;

}

.receiving-copy-button:hover:not(:disabled) {

    background: #eaf3ff;

}

.receiving-details-list {

    margin-top: 14px;

}

.receiving-detail-row {

    display: grid;

    grid-template-columns: minmax(80px, 1fr) minmax(0, 1.65fr);

    gap: 8px 12px;

    padding: 12px 0;

    border-bottom: 1px solid #e8eef5;

}

.receiving-detail-row:last-child {

    border-bottom: 0;

}

.receiving-detail-row dt {

    color: #6a7b91;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.5;

}

.receiving-detail-row dd {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 8px;

    min-width: 0;

    margin: 0;

    color: #21364f;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.5;

    overflow-wrap: anywhere;

}

.receiving-value {

    max-width: 100%;

    min-width: 0;

    direction: ltr;

    unicode-bidi: isolate;

    overflow-wrap: anywhere;

    user-select: all;

}

.receiving-value.is-address {

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;

    font-size: 12px;

    line-height: 1.6;

}

.receiving-qr-block {

    display: grid;

    justify-items: center;

    gap: 12px;

    margin-top: 18px;

    padding: 16px;

    border: 1px dashed #c6d5e6;

    border-radius: 16px;

    background: #ffffff;

}

.receiving-qr-image {

    display: block;

    width: auto;

    max-width: min(100%, 240px);

    height: auto;

    max-height: 300px;

    object-fit: contain;

    background: #ffffff;

}

.receiving-qr-image:not([src]) {

    display: none;

}

.receiving-qr-message,

.usdt-recharge-result .receiving-qr-message {

    margin: 0;

    color: #895800;

    font-size: 12px;

    line-height: 1.55;

    text-align: center;

    overflow-wrap: anywhere;

}

.receiving-network-note,

.usdt-recharge-result .receiving-network-note {

    margin: 14px 0 0;

    padding: 12px;

    border: 1px solid #e8d6a4;

    border-radius: 12px;

    background: #fff9e9;

    color: #7b541b;

    font-size: 12px;

    line-height: 1.6;

}

.receiving-verification-note,

.usdt-recharge-result .receiving-verification-note {

    margin: 14px 0 0;

    color: #60758a;

    font-size: 12px;

    line-height: 1.55;

}

.receiving-actions {

    display: grid;

    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);

    gap: 9px;

    margin-top: 18px;

}

.receiving-refresh-button,

.receiving-new-button,

.receiving-view-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-height: 46px;

    padding: 10px 12px;

    border-radius: 12px;

    font-size: 13px;

    font-weight: 800;

    line-height: 1.4;

    text-align: center;

    overflow-wrap: anywhere;

}

.receiving-refresh-button {

    border: 1px solid #2e63bf;

    background: #2563eb;

    color: #ffffff;

}

.receiving-refresh-button:hover:not(:disabled) {

    background: #1d4ed8;

}

.receiving-new-button,

.receiving-view-button {

    border: 1px solid #cbdcf0;

    background: #f8fbff;

    color: #2454a0;

}

.receiving-new-button:hover:not(:disabled),

.receiving-view-button:hover:not(:disabled) {

    background: #eaf3ff;

}

.recharge-copy-status {

    margin-top: 16px;

    color: #087059;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.5;

}

/* =========================================

   SHARED HISTORY AND CONFIRMATION DIALOGS

========================================= */

body.recharge-modal-open,

body.recharge-detail-open {

    overflow: hidden;

}

.recharge-modal-dialog,

.recharge-detail-dialog {

    max-height: calc(100vh - 32px);

    max-height: calc(100dvh - 32px);

    overflow-y: auto;

    overscroll-behavior: contain;

}

.recharge-summary-row {

    align-items: flex-start;

}

.recharge-summary-row > strong {

    min-width: 0;

    max-width: 60%;

    text-align: right;

    overflow-wrap: anywhere;

    font-variant-numeric: tabular-nums;

}

.recharge-history-toolbar h3 {

    color: #21364f;

    font-size: 16px;

}

.recharge-detail-list {

    min-width: 0;

    max-height: none;

    margin-top: 12px;

    overflow: visible;

}

.recharge-detail-statistic span {

    color: #5e758a;

}

.recharge-history-record {

    min-width: 0;

    padding: 14px;

    border: 1px solid #d5e3f0;

    border-radius: 15px;

    background: #ffffff;

}

.history-record-heading {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 10px;

}

.history-record-amount {

    min-width: 0;

    color: #21364f;

    font-size: 17px;

    font-weight: 800;

    line-height: 1.35;

    overflow-wrap: anywhere;

}

.history-record-reference {

    margin-top: 10px;

    color: #587087;

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;

    font-size: 11px;

    line-height: 1.55;

    overflow-wrap: anywhere;

}

.history-record-meta {

    display: grid;

    gap: 7px;

    margin-top: 10px;

    color: #61758a;

    font-size: 12px;

    line-height: 1.5;

    overflow-wrap: anywhere;

}

.history-record-meta strong {

    color: #293f59;

    font-weight: 700;

}

.receiving-view-button {

    width: 100%;

    margin-top: 12px;

}

.recharge-detail-done,

.usdt-history-load-more {

    min-height: 46px;

}

.recharge-history-button:disabled {

    box-shadow: none;

}

/* ================= CUSTOMER PAYMENT REFERENCE ================= */

.customer-payment-reference {

    margin-top: 16px;

    padding: 15px;

    border: 1px solid #bfdbfe;

    border-radius: 16px;

    background: linear-gradient(145deg, #f8fbff 0%, #eff6ff 100%);

    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);

}

.customer-payment-reference-heading {

    display: flex;

    align-items: center;

    gap: 11px;

}

.customer-payment-reference-icon {

    display: inline-flex;

    flex: 0 0 38px;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    border-radius: 12px;

    color: #ffffff;

    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));

    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);

}

.customer-payment-reference-heading h3 {

    margin: 0;

    color: #19324f;

    font-size: 15px;

    font-weight: 800;

    line-height: 1.3;

}

.customer-payment-reference-heading p {

    margin: 3px 0 0;

    color: #5c7188;

    font-size: 12px;

    line-height: 1.45;

}

.customer-payment-reference-form {

    margin-top: 13px;

}

.customer-payment-reference-form label {

    display: block;

    margin-bottom: 7px;

    color: #29435e;

    font-size: 12px;

    font-weight: 800;

}

.customer-payment-reference-controls {

    display: grid;

    grid-template-columns: minmax(0, 1fr) auto;

    gap: 9px;

}

.customer-payment-reference-controls input {

    min-width: 0;

    height: 44px;

    padding: 0 12px;

    border: 1px solid #bfd0e5;

    border-radius: 11px;

    outline: none;

    color: #172033;

    background: #ffffff;

    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;

    font-size: 13px;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;

}

.customer-payment-reference-controls input:focus {

    border-color: var(--primary-color);

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);

}

.customer-payment-reference-controls input:disabled {

    color: #6b7d90;

    background: #edf2f7;

}

.customer-payment-reference-controls button {

    min-height: 44px;

    padding: 0 14px;

    border: 0;

    border-radius: 11px;

    color: #ffffff;

    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));

    box-shadow: 0 8px 17px rgba(37, 99, 235, 0.2);

    font-size: 12px;

    font-weight: 800;

    cursor: pointer;

}

.customer-payment-reference-controls button:disabled {

    color: #8292a4;

    background: #dce5ef;

    box-shadow: none;

    cursor: not-allowed;

}

.customer-payment-reference-help,

.customer-payment-reference-feedback {

    margin: 8px 1px 0;

    font-size: 11px;

    line-height: 1.5;

}

.customer-payment-reference-help {

    color: #65798e;

}

.customer-payment-reference-feedback {

    min-height: 17px;

    color: #48627c;

    font-weight: 700;

}

.customer-payment-reference-feedback[data-state="success"] {

    color: #15803d;

}

.customer-payment-reference-feedback[data-state="error"] {

    color: #dc2626;

}

.customer-payment-reference-feedback[data-state="info"] {

    color: #1d4ed8;

}

.customer-payment-reference[hidden] {

    display: none !important;

}

/* =========================================

   SMALL SCREENS AND REDUCED MOTION

========================================= */

@media (max-width: 480px) {

    .customer-payment-reference-controls {

        grid-template-columns: minmax(0, 1fr);

    }

    .customer-payment-reference-controls button {

        width: 100%;

    }

    .recharge-receiving-card {

        padding: 15px;

        border-radius: 17px;

    }

    .receiving-card-heading h2,

    .usdt-setup-card .receiving-card-heading h2 {

        font-size: 16px;

    }

    .payment-method-heading {

        gap: 8px;

    }

    .payment-method-heading h2,

    .usdt-setup-card .payment-method-section h2 {

        font-size: 17px;

    }

    .payment-method-refresh {

        padding: 9px 10px;

    }

    .payment-option {

        gap: 10px;

    }

    .payment-method-icon {

        flex-basis: 32px;

        width: 32px;

        height: 32px;

        border-radius: 10px;

        font-size: 15px;

    }

    .receiving-detail-row {

        grid-template-columns: minmax(68px, 1fr) minmax(0, 1.75fr);

        gap: 7px 9px;

    }

    .receiving-qr-block {

        padding: 12px;

    }

    .recharge-request-reference {

        padding: 10px;

        gap: 7px;

    }

    .recharge-history-record {

        padding: 12px;

    }

    .recharge-modal-dialog,

    .recharge-detail-dialog {

        max-height: calc(100vh - 24px);

        max-height: calc(100dvh - 24px);

    }

}

@media (max-width: 360px) {

    .receiving-actions {

        grid-template-columns: minmax(0, 1fr);

    }

    .receiving-detail-row {

        grid-template-columns: minmax(0, 1fr);

        gap: 5px;

    }

    .receiving-detail-row dd {

        width: 100%;

    }

    .receiving-status,

    .usdt-recharge-result .usdt-result-status {

        font-size: 10px;

    }

    .recharge-modal-actions {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }

    *,

    *::before,

    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

}

/* =====================================================
   RECHARGE UI POLISH — CUSTOMER FRONTEND ONLY
   Admin-controlled payment values and request data remain unchanged.
===================================================== */

.recharge-header {
    min-height: 70px;
    padding-block: 10px;
}

.balance-hero {
    min-height: 285px;
    padding: 108px 18px 0;
}

.coin-decoration {
    top: 42px;
    transform: scale(0.88);
    transform-origin: top right;
}

.current-balance-card {
    min-height: 166px;
    padding: 24px 22px 76px;
    border-radius: 22px 22px 0 0;
}

.recharge-main {
    padding: 24px 18px 44px;
}

.recharge-wallet-switcher {
    margin-bottom: 22px;
}

.recharge-wallet-tabs {
    gap: 5px;
    padding: 5px;
    border-radius: 16px;
}

.recharge-wallet-tab {
    min-height: 52px;
    border-radius: 12px;
    font-size: 14px;
}

.recharge-wallet-note {
    margin: 10px 3px 0;
}

.amount-grid {
    gap: 10px;
}

.amount-option {
    min-height: 62px;
    border-width: 1px;
    border-color: #e1e9f3;
    border-radius: 13px;
    font-size: 15px;
}

.amount-option.selected,
.amount-option.active,
.amount-option[aria-pressed="true"] {
    border-color: rgba(37, 99, 235, 0.5);
    background: #eff6ff;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.custom-recharge-section {
    margin-top: 25px;
}

.custom-recharge-section h2,
.payment-method-section h2 {
    font-size: 19px;
}

.custom-input-wrapper {
    margin-top: 12px;
}

.custom-input-wrapper input {
    min-height: 62px;
    padding-block: 14px;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
}

.payment-method-section,
.usdt-setup-card .payment-method-section {
    margin-top: 25px;
}

.payment-method-list {
    gap: 10px;
    margin-top: 13px;
}

.payment-option,
.usdt-setup-card .payment-option {
    min-height: 68px;
    padding: 13px 15px;
    border-width: 1px;
    border-color: #dbe5f0;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.07);
}

.payment-option.selected,
.payment-option:has(input:checked) {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.5);
    background: linear-gradient(145deg, #eff6ff, #ffffff);
    box-shadow: 0 9px 22px rgba(37, 99, 235, 0.13);
}

.usdt-setup-card .payment-option.selected,
.usdt-setup-card .payment-option:has(input:checked) {
    border-color: rgba(13, 148, 136, 0.5);
    background: linear-gradient(145deg, #ecfdf8, #ffffff);
    box-shadow: 0 9px 22px rgba(13, 148, 136, 0.12);
}

.payment-method-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
}

.go-payment-button,
.usdt-recharge-form .go-payment-button {
    min-height: 58px;
    margin-top: 22px;
    border-radius: 16px;
    font-size: 16px;
}

.usdt-setup-card {
    padding: 22px 20px;
    border-radius: 20px;
}

.usdt-setup-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 25px;
}

.usdt-setup-status {
    margin-top: 16px;
}

.usdt-setup-card h2 {
    margin-top: 10px;
    font-size: 23px;
}

.usdt-setup-card > p {
    margin-top: 7px;
    font-size: 13px;
}

/* Simplified QR/payment view. */

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.customer-hidden-payment-data {
    display: none !important;
}

.simplified-payment-card,
.usdt-recharge-result.simplified-payment-card {
    padding: 18px;
    border: 1px solid #cfdeef;
    border-radius: 20px;
    background: linear-gradient(155deg, #ffffff 0%, #f6f9ff 100%);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.1);
}

.usdt-recharge-result.simplified-payment-card {
    border-color: #bde1d8;
    background: linear-gradient(155deg, #ffffff 0%, #f0fdfa 100%);
}

.simplified-payment-card .receiving-card-heading {
    justify-content: flex-end;
}

.simplified-payment-card .receiving-message {
    margin-top: 10px;
    text-align: center;
}

.simplified-payment-card .receiving-qr-block {
    width: 100%;
    gap: 14px;
    margin-top: 15px;
    padding: 14px;
    border: 1px solid #d8e4f2;
    border-radius: 18px;
    background: #ffffff;
}

.receiving-qr-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.receiving-qr-toolbar > strong {
    color: #203a59;
    font-size: 14px;
    font-weight: 850;
}

.receiving-qr-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #bfd3eb;
    border-radius: 11px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.receiving-qr-download:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}

.receiving-qr-image {
    max-width: min(100%, 260px);
    max-height: 320px;
    border-radius: 12px;
}

.simplified-payment-card .receiving-details-list {
    display: grid;
    gap: 9px;
    margin-top: 13px;
}

.simplified-payment-card .receiving-detail-row {
    grid-template-columns: minmax(86px, 0.7fr) minmax(0, 1.3fr);
    gap: 8px 12px;
    padding: 12px;
    border: 1px solid #e1e9f2;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.82);
}

.simplified-payment-card .receiving-detail-row:last-child {
    border-bottom: 1px solid #e1e9f2;
}

.simplified-payment-card .customer-payment-reference {
    margin-top: 14px;
}

.simplified-payment-card .receiving-actions {
    margin-top: 14px;
}

html:is(.dark-theme, [data-marathon-theme="dark"]) .simplified-payment-card,
html:is(.dark-theme, [data-marathon-theme="dark"]) .usdt-recharge-result.simplified-payment-card {
    border-color: #334155;
    background: linear-gradient(155deg, #1e293b, #111c2f);
}

html:is(.dark-theme, [data-marathon-theme="dark"]) .simplified-payment-card .receiving-qr-block,
html:is(.dark-theme, [data-marathon-theme="dark"]) .simplified-payment-card .receiving-detail-row {
    border-color: #334155;
    background: #0f172a;
}

html:is(.dark-theme, [data-marathon-theme="dark"]) .receiving-qr-toolbar > strong {
    color: #f8fafc;
}

html:is(.dark-theme, [data-marathon-theme="dark"]) .receiving-qr-download {
    border-color: #3b4c64;
    background: #172554;
    color: #bfdbfe;
}

@media (max-width: 480px) {
    .recharge-main {
        padding: 20px 14px 36px;
    }

    .balance-hero {
        min-height: 270px;
        padding: 102px 14px 0;
    }

    .current-balance-card {
        min-height: 158px;
        padding: 21px 18px 72px;
    }

    .amount-grid {
        gap: 8px;
    }

    .amount-option {
        min-height: 57px;
        font-size: 14px;
    }

    .payment-method-heading {
        align-items: flex-start;
    }

    .payment-method-refresh span {
        display: none;
    }

    .payment-method-refresh {
        width: 42px;
        min-height: 42px;
        padding: 8px;
    }

    .simplified-payment-card,
    .usdt-recharge-result.simplified-payment-card {
        padding: 14px;
        border-radius: 17px;
    }

    .receiving-qr-toolbar {
        align-items: center;
    }

    .receiving-qr-download span {
        display: none;
    }

    .receiving-qr-download {
        width: 40px;
        padding: 8px;
    }
}

@media (max-width: 360px) {
    .simplified-payment-card .receiving-detail-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =====================================================
   COMPACT PAYMENT DETAILS + USDT NETWORK PICKER
   CUSTOMER FRONTEND ONLY — API values and request logic stay unchanged.
===================================================== */

.usdt-payment-method-list.is-select-picker {
    display: block;
    margin-top: 11px;
}

.usdt-network-picker {
    display: grid;
    gap: 7px;
}

.usdt-network-picker-label {
    color: #35506d;
    font-size: 12px;
    font-weight: 800;
}

.usdt-network-select-control {
    position: relative;
    display: flex;
    align-items: center;
}

.usdt-network-select-control > .fa-network-wired {
    position: absolute;
    left: 15px;
    z-index: 1;
    color: #0f766e;
    font-size: 16px;
    pointer-events: none;
}

.usdt-network-select {
    width: 100%;
    min-height: 52px;
    padding: 10px 46px 10px 44px;
    border: 1px solid #b9dcd5;
    border-radius: 13px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    color: #173f3b;
    background: linear-gradient(145deg, #ffffff, #f0fdfa);
    box-shadow: 0 7px 18px rgba(13, 148, 136, 0.09);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.usdt-network-select:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.13);
}

.usdt-network-select-arrow {
    position: absolute;
    right: 16px;
    color: #0f766e;
    font-size: 12px;
    pointer-events: none;
}

/* Keep the USDT setup form useful without making it vertically oversized. */
.usdt-setup-card {
    padding: 18px;
}

.usdt-setup-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 22px;
}

.usdt-setup-status {
    margin-top: 12px;
}

.usdt-setup-card h2 {
    margin-top: 8px;
    font-size: 21px;
}

.usdt-setup-card > p {
    margin-top: 5px;
    line-height: 1.5;
}

.usdt-setup-card .custom-recharge-section,
.usdt-setup-card .payment-method-section {
    margin-top: 18px;
}

.usdt-setup-card .custom-input-wrapper input {
    min-height: 54px;
}

.usdt-recharge-form .go-payment-button {
    min-height: 52px;
    margin-top: 18px;
}

/* Slim INR UPI rows and USDT amount/network/address rows. */
.simplified-payment-card .receiving-details-list {
    gap: 7px;
    margin-top: 10px;
}

.simplified-payment-card .receiving-detail-row {
    grid-template-columns: minmax(78px, 0.58fr) minmax(0, 1.42fr);
    align-items: center;
    gap: 7px 10px;
    min-height: 50px;
    padding: 8px 10px;
    border-radius: 11px;
}

.simplified-payment-card .receiving-detail-row dt {
    font-size: 11px;
    line-height: 1.35;
}

.simplified-payment-card .receiving-detail-row dd {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    line-height: 1.4;
}

.simplified-payment-card .receiving-value.is-address {
    font-size: 11px;
    line-height: 1.45;
}

.simplified-payment-card .receiving-detail-row .receiving-copy-button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 5px 9px;
    border-radius: 9px;
    font-size: 11px;
}

.usdt-recharge-result.simplified-payment-card {
    padding: 14px;
    border-radius: 18px;
}

.usdt-recharge-result.simplified-payment-card .receiving-message {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
}

.usdt-recharge-result.simplified-payment-card .receiving-qr-block {
    gap: 10px;
    margin-top: 11px;
    padding: 11px;
}

.usdt-recharge-result.simplified-payment-card .receiving-qr-image {
    max-width: min(100%, 220px);
    max-height: 250px;
}

.usdt-recharge-result .receiving-network-note {
    margin-top: 10px;
    padding: 9px 10px;
    line-height: 1.5;
}

.usdt-recharge-result .customer-payment-reference {
    margin-top: 11px;
    padding: 12px;
    border-radius: 14px;
}

.usdt-recharge-result .customer-payment-reference-form {
    margin-top: 10px;
}

.usdt-recharge-result .receiving-verification-note,
.usdt-recharge-result .receiving-actions {
    margin-top: 11px;
}

html:is(.dark-theme, [data-marathon-theme="dark"]) .usdt-network-picker-label {
    color: #cbd5e1;
}

html:is(.dark-theme, [data-marathon-theme="dark"]) .usdt-network-select {
    border-color: #355c5a;
    color: #f8fafc;
    background: linear-gradient(145deg, #172033, #102b2a);
}

html:is(.dark-theme, [data-marathon-theme="dark"]) .usdt-network-select-control > .fa-network-wired,
html:is(.dark-theme, [data-marathon-theme="dark"]) .usdt-network-select-arrow {
    color: #5eead4;
}

@media (max-width: 480px) {
    .usdt-setup-card {
        padding: 15px;
    }

    .simplified-payment-card .receiving-detail-row {
        grid-template-columns: minmax(70px, 0.55fr) minmax(0, 1.45fr);
        padding: 8px 9px;
    }
}

@media (max-width: 360px) {
    .simplified-payment-card .receiving-detail-row {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
}
