* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #07070d;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.app {
    width: 100%;
    max-width: 1050px;
    margin: auto;
    padding: 0 18px 70px;
}


/* TOPBAR */

.topbar {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.brand {
    font-size: 21px;
    font-weight: 800;
    color: #b76cff;
}

.topbar nav {
    display: flex;
    gap: 24px;
}

.topbar nav a {
    color: #9d98a8;
    text-decoration: none;
    font-size: 13px;
}

.topbar nav a:hover {
    color: #c17aff;
}


/* HERO */

.hero {
    text-align: center;
    padding: 65px 10px 40px;
}

.badge {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 20px;
    background: rgba(130,60,230,.12);
    border: 1px solid rgba(160,80,255,.2);
    color: #bc7aff;
    font-size: 11px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(38px, 7vw, 65px);
    letter-spacing: 2px;

    background: linear-gradient(
        90deg,
        #fff,
        #9b4dff
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 650px;
    margin: 14px auto;
    color: #85818e;
    font-size: 15px;
}

.network-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.network-pills span {
    background: #21172e;
    color: #bd7cff;
    border-radius: 20px;
    padding: 6px 13px;
    font-size: 10px;
}


/* SECURITY */

.security-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.security-card {
    background: #101018;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 15px;
    padding: 20px 15px;
}

.security-card h3 {
    font-size: 11px;
    margin-bottom: 3px;
}

.security-card p {
    color: #777481;
    font-size: 10px;
}

.security-icon {
    font-size: 19px;
    margin-bottom: 10px;
}

.blue {
    color: #6da9ff;
}

.green {
    color: #62e8aa;
}

.yellow {
    color: #ffd45d;
}

.purple {
    color: #bb72ff;
}


/* WALLET */

.wallet-box {
    background: linear-gradient(
        145deg,
        #161321,
        #0f0e15
    );
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    padding: 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wallet-box span {
    display: block;
    color: #85808d;
    font-size: 11px;
}

.wallet-box strong {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    color: #aaa5b1;
}

.purple-btn {
    border: 0;
    border-radius: 12px;
    padding: 13px 22px;
    background: linear-gradient(
        90deg,
        #7029e8,
        #8d3cff
    );
    color: white;
    font-weight: 700;
    cursor: pointer;
}


/* GENERATE CARD */

.generate-card {
    background: linear-gradient(
        145deg,
        #171221,
        #0d0c13
    );
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 22px;
    padding: 28px;
}

.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.section-heading h2 {
    font-size: 23px;
}

.heading-line {
    width: 48px;
    height: 2px;
    background: #a758ff;
    margin: 10px auto;
}


/* LABEL */

label {
    display: block;
    color: #aaa5b0;
    font-size: 11px;
    font-weight: 700;
    margin: 22px 0 9px;
}

label b {
    color: #ff6682;
}


/* TOKEN */

.token-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

.token-btn {
    border: 1px solid #292531;
    background: #111018;
    color: white;
    border-radius: 15px;
    min-height: 110px;
    cursor: pointer;
    transition: .2s;
}

.token-btn:hover,
.token-btn.active {
    border-color: #8c3cff;
    background: #211735;
}

.token-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 18px;
}

.eth {
    background: #273052;
    color: #8ca5ff;
}

.tron {
    background: #401d30;
    color: #ff4268;
}

.bnb {
    background: #403719;
    color: #ffd43d;
}

.matic {
    background: #30214b;
    color: #b175ff;
}

.token-btn strong,
.token-btn small {
    display: block;
}

.token-btn small {
    color: #7e7987;
    margin-top: 2px;
    font-size: 10px;
}


/* INPUT */

input,
select {
    width: 100%;
    padding: 15px;
    border: 1px solid #2c2935;
    background: #101016;
    color: white;
    border-radius: 12px;
    outline: none;
}

input:focus,
select:focus {
    border-color: #8d3cff;
}

option {
    background: #14121b;
}


/* AMOUNT */

.amount-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

.amount-btn {
    min-height: 78px;
    border-radius: 14px;
    border: 1px solid #292632;
    background: #111018;
    color: white;
    cursor: pointer;
    transition: .2s;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: #8d3cff;
    background: #211735;
}

.amount-btn strong {
    display: block;
    font-size: 17px;
}

.amount-btn small {
    display: block;
    color: #b66dff;
    margin-top: 4px;
}


/* PRICE */

.price-box {
    text-align: center;
    padding: 18px;
    margin-top: 18px;
    border-radius: 14px;
    background: #211633;
    border: 1px solid rgba(170,80,255,.15);
}

.price-box span {
    display: block;
    color: #8d8896;
    font-size: 11px;
}

.price-box strong {
    font-size: 25px;
    color: #fff;
}


/* MAIN BUTTON */

.main-btn {
    width: 100%;
    margin-top: 25px;
    padding: 17px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(
        90deg,
        #7029e8,
        #913cff
    );
    color: white;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(110,35,230,.25);
}

.main-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.demo-warning {
    text-align: center;
    color: #706c77;
    font-size: 10px;
    margin-top: 13px;
}


/* WHY */

.why-section {
    padding-top: 80px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}

.why-card {
    background: #101017;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 25px;
}

.why-icon {
    font-size: 25px;
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.why-card p {
    color: #85808d;
    font-size: 13px;
}


/* FOOTER */

footer {
    text-align: center;
    padding-top: 60px;
    color: #625e69;
    font-size: 12px;
}

footer small {
    display: block;
    margin-top: 5px;
}


/* MOBILE */

@media(max-width:700px) {

    .topbar nav {
        display: none;
    }

    .security-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .wallet-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

}

@media(max-width:480px) {

    .app {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero {
        padding-top: 45px;
    }

    .generate-card {
        padding: 20px 15px;
    }

    .security-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .token-grid,
    .amount-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .token-btn {
        min-height: 100px;
    }
    .countdown-box {
    width: calc(100% - 32px);
    margin: 0 auto 16px;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #38205a;
    border-radius: 12px;
    background: #171022;
    text-align: center;
}

.countdown-box span {
    display: block;
    font-size: 11px;
    color: #918a9d;
    margin-bottom: 3px;
}

.countdown-box strong {
    display: block;
    font-size: 25px;
    color: #b56cff;
    letter-spacing: 1px;
}

.upload-section {
    margin-top: 16px;
}

.upload-section label {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    color: #aaa2b4;
}

.upload-section input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    padding: 11px;
    border: 1px solid #2d2635;
    border-radius: 10px;
    background: #0d0b11;
    color: #aaa2b4;
    font-size: 11px;
}

.image-preview {
    margin-top: 12px;
}

.image-preview img {
    display: block;
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #332941;
}
.countdown-box {
    width: calc(100% - 32px);
    margin: 0 auto 14px;
    padding: 12px 16px;
    border: 1px solid rgba(157, 78, 255, 0.35);
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(95, 35, 150, 0.22),
        rgba(30, 20, 45, 0.8)
    );
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.countdown-box span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa0b8;
    margin-bottom: 4px;
}

.countdown-box strong {
    display: block;
    font-size: 25px;
    font-weight: 800;
    color: #b66cff;
    letter-spacing: 1px;
}
.upload-section {
    margin-top: 18px;
}

.upload-section label {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    color: #aaa2b4;
}

.upload-box {
    position: relative;
    border: 1px dashed #5b3a78;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    background: rgba(20, 15, 27, .8);
    transition: .2s ease;
}

.upload-box:hover {
    border-color: #963cff;
    background: rgba(40, 20, 55, .8);
}

.upload-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.upload-title {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.upload-subtitle {
    margin-top: 4px;
    color: #777080;
    font-size: 10px;
}

.upload-box input[type="file"] {
    width: 100%;
    margin-top: 12px;
    color: #aaa;
    font-size: 10px;
}
/* =========================================
   PAYMENT PAGE - PROFESSIONAL UI
   ========================================= */

/* Payment countdown */
.countdown-box {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 18px;
    padding: 14px 20px;
    border: 1px solid rgba(155, 77, 255, 0.35);
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(72, 32, 110, 0.45),
        rgba(20, 15, 30, 0.95)
    );
    text-align: center;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.countdown-box span {
    display: block;
    margin-bottom: 3px;
    color: #9b94a5;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.countdown-box strong {
    display: block;
    color: #c084ff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
}


/* Payment address */
.address-title {
    margin-top: 24px;
    margin-bottom: 8px;
    color: #96909f;
    font-size: 11px;
    font-weight: 600;
}

.address {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #282431;
    border-radius: 12px;
    background: #0d0b12;
    color: #eeeaf2;
    font-size: 12px;
    line-height: 1.5;
    word-break: break-all;
}


/* Screenshot upload */
.upload-section {
    width: 100%;
    margin-top: 18px;
}

.upload-section > label {
    display: block;
    margin: 0 0 9px;
    color: #aaa3b2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}


/* Main upload area */
.upload-box {
    width: 100%;
    min-height: 125px;
    padding: 18px;
    border: 1px dashed rgba(155, 77, 255, 0.45);
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        rgba(24, 18, 33, 0.95),
        rgba(14, 12, 19, 0.95)
    );
    text-align: center;
    transition: all .2s ease;
}

.upload-box:hover {
    border-color: #a45cff;
    background: linear-gradient(
        145deg,
        rgba(39, 23, 55, 0.95),
        rgba(17, 13, 24, 0.95)
    );
    transform: translateY(-1px);
}

.upload-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(139, 60, 255, 0.13);
    color: #b66dff;
    font-size: 20px;
}

.upload-title {
    color: #f4f1f7;
    font-size: 13px;
    font-weight: 700;
}

.upload-subtitle {
    margin-top: 4px;
    color: #77717f;
    font-size: 10px;
}


/* Hide ugly default file input */
.upload-box input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 9px;
    border: 1px solid #302a39;
    border-radius: 9px;
    background: #0c0a10;
    color: #a7a1ad;
    font-size: 10px;
    cursor: pointer;
}

.upload-box input[type="file"]::file-selector-button {
    margin-right: 9px;
    padding: 7px 11px;
    border: 0;
    border-radius: 7px;
    background: #742ce8;
    color: white;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.upload-box input[type="file"]::file-selector-button:hover {
    background: #8d3cff;
}


/* Image preview */
.image-preview {
    width: 100%;
    margin-top: 12px;
}

.image-preview img {
    display: block;
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    padding: 5px;
    border: 1px solid #332941;
    border-radius: 12px;
    background: #0c0a10;
}


/* Payment buttons */
.copy-btn,
.confirm-btn {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(
        90deg,
        #7029e8,
        #963cff
    );
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
    cursor: pointer;
    transition: all .2s ease;
}

.copy-btn:hover,
.confirm-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(112, 41, 232, .25);
}


/* Mobile */
@media (max-width: 480px) {

    .countdown-box {
        padding: 12px 15px;
    }

    .countdown-box strong {
        font-size: 23px;
    }

    .upload-box {
        padding: 15px;
    }

    .address {
        font-size: 11px;
    }
}


/* =========================================
   PAYMENT PAGE - FINAL OVERRIDES
   ========================================= */

.payment-page .card {
    width: 100%;
}

.upload-warning {
    display: none;
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 174, 0, .22);
    border-radius: 10px;
    background: rgba(92, 62, 10, .20);
    color: #d9bd7a;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.upload-warning.show {
    display: block;
}

.confirm-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
    filter: grayscale(.25);
    transform: none !important;
    box-shadow: none !important;
}

.confirm-btn:disabled:hover {
    filter: grayscale(.25);
    transform: none;
    box-shadow: none;
}

/* Make sure the native file control never stretches across the page */
.upload-box input[type="file"] {
    max-width: 100%;
}

@media (max-width: 480px) {
    .container {
        width: 100%;
    }

    .card {
        padding: 18px 14px;
    }

    .qr-box {
        max-width: 100%;
        overflow: hidden;
    }

    .qr-box #qrcode canvas,
    .qr-box #qrcode img {
        max-width: 100%;
        height: auto;
    }
}
}

/* =========================================================
   PAYMENT DETAILS PAGE - FINAL FIX
   ========================================================= */

.payment-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -10%, rgba(132,48,255,.16), transparent 38%),
        #07070d;
    color: #f7f4fb;
}

.payment-page .container {
    width: min(calc(100% - 32px), 720px);
    margin: 0 auto;
    padding: 28px 0 50px;
}

.payment-page .header {
    text-align: center;
    margin-bottom: 18px;
}

.payment-page .header h1 {
    margin: 0;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    background: linear-gradient(90deg,#fff,#b86cff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.payment-page .header p {
    margin: 7px 0 0;
    color: #8f889d;
    font-size: 12px;
}

.payment-page .countdown-box {
    width: min(100%,520px);
    margin: 0 auto 14px;
    padding: 12px 18px;
    border: 1px solid rgba(157,78,255,.35);
    border-radius: 14px;
    background: linear-gradient(135deg,rgba(82,35,126,.42),rgba(20,14,31,.96));
    box-shadow: 0 10px 30px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.04);
    text-align: center;
}

.payment-page .countdown-box span {
    display: block;
    color: #aaa2b4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.payment-page .countdown-box strong {
    display: block;
    margin-top: 2px;
    color: #c27bff;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.payment-page .card {
    width: 100%;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 22px;
    background: linear-gradient(145deg,rgba(24,18,33,.98),rgba(11,10,16,.98));
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.payment-page .summary {
    padding: 5px 0;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 15px;
    background: rgba(7,6,11,.5);
    overflow: hidden;
}

.payment-page .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 16px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.payment-page .row:last-child {
    border-bottom: 0;
}

.payment-page .label {
    color: #8f899a;
    font-size: 11px;
}

.payment-page .value {
    color: #f5f1fa;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.payment-page .value.price,
.payment-page .value.network {
    color: #b66cff;
}

.payment-page .qr-area {
    margin-top: 24px;
    text-align: center;
}

.payment-page .qr-area h2 {
    margin: 0 0 13px;
    font-size: 19px;
    font-weight: 800;
}

.payment-page .qr-box {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0,0,0,.3);
}

.payment-page .qr-box #qrcode {
    display: block;
    line-height: 0;
}

.payment-page .qr-box canvas,
.payment-page .qr-box img {
    display: block;
    width: 210px !important;
    height: 210px !important;
    max-width: 100%;
}

.payment-page .address-title {
    margin: 22px 0 8px;
    color: #96909f;
    font-size: 11px;
    font-weight: 600;
    text-align: left;
}

.payment-page .address {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #292431;
    border-radius: 12px;
    background: #0c0a10;
    color: #eeeaf2;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
    word-break: break-all;
}

.payment-page .upload-section {
    width: 100%;
    margin-top: 18px;
}

.payment-page .upload-section > label {
    display: block;
    margin: 0 0 8px;
    color: #aaa3b2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-align: left;
}

.payment-page .upload-box {
    width: 100%;
    min-height: 135px;
    padding: 18px;
    border: 1px dashed rgba(155,77,255,.55);
    border-radius: 15px;
    background: linear-gradient(145deg,rgba(30,21,42,.9),rgba(12,10,17,.95));
    text-align: center;
    transition: .2s ease;
}

.payment-page .upload-box:hover {
    border-color: #a45cff;
}

.payment-page .upload-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(139,60,255,.14);
    color: #b66dff;
    font-size: 20px;
}

.payment-page .upload-title {
    color: #f5f1f8;
    font-size: 13px;
    font-weight: 800;
}

.payment-page .upload-subtitle {
    margin-top: 4px;
    color: #77717f;
    font-size: 10px;
}

.payment-page .upload-box input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 13px;
    padding: 8px;
    border: 1px solid #302a39;
    border-radius: 9px;
    background: #0b0910;
    color: #a7a1ad;
    font-size: 11px;
    cursor: pointer;
}

.payment-page .upload-box input[type="file"]::file-selector-button {
    margin-right: 9px;
    padding: 8px 13px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg,#7029e8,#963cff);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.payment-page .image-preview {
    width: 100%;
    margin-top: 12px;
}

.payment-page .image-preview img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    padding: 5px;
    border: 1px solid #332941;
    border-radius: 12px;
    background: #0b0910;
}

.payment-page .copy-btn,
.payment-page .confirm-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg,#7029e8,#963cff);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
    cursor: pointer;
    transition: .2s ease;
}

.payment-page .copy-btn:hover,
.payment-page .confirm-btn:not(:disabled):hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 9px 24px rgba(112,41,232,.28);
}

.payment-page .upload-warning {
    display: none;
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid rgba(255,174,0,.22);
    border-radius: 10px;
    background: rgba(92,62,10,.2);
    color: #d9bd7a;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.payment-page .upload-warning.show {
    display: block;
}

.payment-page .confirm-btn:disabled {
    opacity: .42;
    cursor: not-allowed;
    filter: grayscale(.25);
    transform: none !important;
    box-shadow: none !important;
}

.payment-page .back {
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    color: #81788e;
    font-size: 11px;
    text-decoration: none;
}

.payment-page .back:hover {
    color: #bd7cff;
}

@media (max-width:560px) {
    .payment-page .container {
        width: calc(100% - 20px);
        padding-top: 18px;
    }

    .payment-page .card {
        padding: 16px 12px;
        border-radius: 17px;
    }

    .payment-page .row {
        padding: 13px 12px;
    }

    .payment-page .qr-box canvas,
    .payment-page .qr-box img {
        width: 190px !important;
        height: 190px !important;
    }

    .payment-page .upload-box {
        padding: 15px 10px;
    }
}

/* =========================================================
   SCREENSHOT PICKER
   Filename only - NO IMAGE PREVIEW
   ========================================================= */

.payment-page .file-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 13px;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #302a39;
    border-radius: 10px;
    background: #0b0910;
    text-align: left;
}

.payment-page .choose-file-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 8px;
    background: linear-gradient(90deg, #7029e8, #963cff);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

.payment-page .choose-file-btn:hover {
    filter: brightness(1.1);
}

.payment-page .selected-file-name {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #77717f;
    font-size: 11px;
}

.payment-page .selected-file-name.has-file {
    color: #e9e2f2;
}

.payment-page .remove-file-btn {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 95, 125, .35);
    border-radius: 8px;
    background: rgba(255, 70, 105, .08);
    color: #ff829b;
    font-size: 19px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
}

.payment-page .remove-file-btn:hover {
    border-color: rgba(255, 95, 125, .65);
    background: rgba(255, 70, 105, .15);
    color: #ff9bad;
}

@media (max-width: 480px) {

    .payment-page .file-action-row {
        gap: 8px;
    }

    .payment-page .choose-file-btn {
        padding: 9px 11px;
    }

    .payment-page .remove-file-btn {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }
}

/* FINAL UPLOAD ROW FIX */
.payment-page .upload-box {
    position: relative;
}

.payment-page .upload-box input[type="file"] {
    display: none !important;
}

.payment-page .custom-file-row,
.payment-page .file-row {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 5px 52px 5px 8px;
    box-sizing: border-box;
    border: 1px solid #302a39;
    border-radius: 10px;
    background: #0b0910;
}

.payment-page .custom-file-row .choose-image-btn,
.payment-page .file-row .choose-image-btn {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(90deg, #7029e8, #963cff);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.payment-page .custom-file-row .file-name,
.payment-page .file-row .file-name {
    min-width: 0;
    margin-left: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #b7b0c2;
    font-size: 11px;
}

.payment-page .custom-file-row .remove-file,
.payment-page .file-row .remove-file {
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,92,130,.5);
    border-radius: 9px;
    background: rgba(255,60,110,.08);
    color: #ff6f9c;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.payment-page .custom-file-row.has-file .remove-file,
.payment-page .file-row.has-file .remove-file {
    display: flex;
}

@media (max-width: 560px) {
    .payment-page .custom-file-row,
    .payment-page .file-row {
        padding-right: 47px;
    }

    .payment-page .custom-file-row .choose-image-btn,
    .payment-page .file-row .choose-image-btn {
        padding: 9px 12px;
        font-size: 10px;
    }

    .payment-page .custom-file-row .file-name,
    .payment-page .file-row .file-name {
        margin-left: 8px;
        font-size: 10px;
    }
}
