@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&display=swap');

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow-y: auto;
    background: linear-gradient(180deg, #0a0a0a, #000);
}


/* Subtle shimmering gold particles */
.auth-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px);
    background-size: 2vw 2vw, 4vw 4vw;
    /* viewport-based */
    background-position: 0 0, 1vw 1vw;
    pointer-events: none;
    z-index: 0;
    animation: shimmerParticles 60s linear infinite;
    background-attachment: fixed;
}

/* Subtle diagonal lines overlay */
.auth-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg,
            rgba(212, 175, 55, 0.02),
            rgba(212, 175, 55, 0.02) 1px,
            transparent 1px,
            transparent 10vw);
    pointer-events: none;
    z-index: 0;
    animation: lineMove 120s linear infinite;
    background-attachment: fixed;
}

/* Particle animation */
@keyframes shimmerParticles {
    0% {
        background-position: 0 0, 1vw 1vw;
    }

    100% {
        background-position: -5vw 5vw, 6vw -5vw;
    }
}

/* Line animation */
@keyframes lineMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -5vw 5vw;
    }
}

/* Auth boxes floating glow */
.auth-box,
.auth-box-register {
    position: relative;
    z-index: 1;
    box-shadow:
        0 20px 60px rgba(212, 175, 55, 0.2),
        0 0 30px rgba(212, 175, 55, 0.05) inset,
        0 0 10px rgba(255, 255, 255, 0.05) inset;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(0, 0, 0, 0.95));
}

/* Optional hover float effect */
.auth-box:hover,
.auth-box-register:hover {
    transform: translateY(-6px);
    box-shadow:
        0 25px 80px rgba(212, 175, 55, 0.3),
        0 0 40px rgba(212, 175, 55, 0.08) inset,
        0 0 15px rgba(255, 255, 255, 0.08) inset;
}

#network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.auth-wrapper {
    position: relative;
    z-index: 1;
    /* auth box on top */
}

/* ============================= */
/* AUTH CARD */
/* ============================= */
.auth-box {
    width: 100%;
    max-width: 440px;
    background:
        linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(0, 0, 0, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 18px;
    padding: 38px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(212, 175, 55, 0.08);
    color: #f5f5f5;
}

/* Wider register card */
.auth-box-register {
    max-width: 600px;
    margin: 20px 0;

}

/* ============================= */
/* TITLE */
/* ============================= */
.auth-box h2 {
    text-align: center;
    color: #e6cf7a;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 30px;
    letter-spacing: 1.2px;
}

/* Gold divider */
.auth-box h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin: 16px auto 30px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    opacity: 0.85;
}

/* ============================= */
/* INPUT GROUPS */
/* ============================= */
.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    letter-spacing: 0.3px;
    color: #cbb85a;
}

/* Inputs */
.input-group input,
.auth-select {
    width: 100%;
    padding: 13px 14px;
    background: linear-gradient(180deg, #121212, #0b0b0b);
    border: 1px solid #242424;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: #777;
}

/* Focus */
.input-group input:focus,
.auth-select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

/* Disabled input */
.input-disabled {
    background: #0e0e0e !important;
    color: #888 !important;
    cursor: not-allowed;
}

/* ============================= */
/* TERMS */
/* ============================= */
.terms-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #bbb;
}

.terms-check input {
    accent-color: #d4af37;
}

.terms-check a {
    color: #d4af37;
    text-decoration: none;
}

.terms-check a:hover {
    text-decoration: underline;
}

.remember-box {
    font-size: 14px;
    color: #bbb;
}

.remember-box input {
    accent-color: #d4af37;
}


/* ============================= */
/* BUTTON – REFINED PREMIUM */
/* ============================= */
.auth-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg,
            #f2dc87,
            #d4af37,
            #b08d2a);
    background-size: 200% 200%;
    color: #1a1a1a;
    font-weight: 600;
    margin-top: 16px;
    font-size: 14px;
    letter-spacing: 0.4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 14px 32px rgba(212, 175, 55, 0.35);
    transition: all 0.35s ease;
    animation: goldPulse 5s ease-in-out infinite;
}


/* Soft shimmer */
.auth-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 45%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.45),
            transparent);
    transform: skewX(-20deg);
    animation: shimmer 4.5s infinite;
}

/* Hover */
.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 20px 48px rgba(212, 175, 55, 0.55);
}

/* Active */
.auth-btn:active {
    transform: translateY(0);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.35),
        0 10px 24px rgba(212, 175, 55, 0.35);
}

/* Animations */
@keyframes shimmer {
    0% {
        left: -70%;
    }

    60% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

@keyframes goldPulse {
    0% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            0 14px 32px rgba(212, 175, 55, 0.28);
    }

    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.45),
            0 20px 46px rgba(212, 175, 55, 0.55);
    }

    100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            0 14px 32px rgba(212, 175, 55, 0.28);
    }
}

/* ============================= */
/* ERRORS & SWITCH */
/* ============================= */
.text-danger {
    color: #ff6b6b;
    font-size: 12px;
}

.auth-switch {
    text-align: center;
    margin-top: 26px;
    font-size: 13px;
    color: #aaa;
}

.auth-switch a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* ============================= */
/* GRID SAFETY */
/* ============================= */
.auth-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 18px;
}

.auth-row>.col-md-6 {
    width: calc(50% - 9px);
}

.activation-box {
 
    border-radius: 12px;
    background: linear-gradient(180deg, #141414, #0b0b0b);
    /* border: 1px dashed rgba(212, 175, 55, 0.6); */
    color: #cbb85a;
    font-size: 13.5px;
    box-shadow: inset 0 0 18px rgba(212, 175, 55, 0.08);
}

/* .upload-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #141414, #0b0b0b);
    border: 1px dashed rgba(212, 175, 55, 0.6);
    color: #cbb85a;
    font-size: 13.5px;
    box-shadow: inset 0 0 18px rgba(212, 175, 55, 0.08);
} */


.auth-row>.col-md-12 {
    width: 100%;
}

/* ============================= */
/* UPLOAD RECEIPT */
/* ============================= */
/* .upload-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #141414, #0b0b0b);
    border: 1px dashed rgba(212, 175, 55, 0.6);
    color: #e8dba2;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 18px rgba(212, 175, 55, 0.08);
} */

/* .upload-box i {
    font-size: 18px;
    color: #d4af37;
}

.upload-box:hover {
    border-color: rgba(212, 175, 55, 0.9);
    box-shadow:
        inset 0 0 22px rgba(212, 175, 55, 0.12),
        0 6px 18px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
} */


.upload-box {
    width: 100%;
    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */
    gap: 12px;

    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #141414, #0b0b0b);
    border: 1px dashed rgba(212, 175, 55, 0.6);

    color: #e8dba2;
    font-size: 13.5px;
    cursor: pointer;
    text-align: center;

    box-shadow: inset 0 0 18px rgba(212, 175, 55, 0.08);
    transition: all 0.3s ease;
}

.upload-box i {
    font-size: 20px;
    color: #d4af37;
    line-height: 1;
}

.upload-box span {
    line-height: 1.4;
}

/* Hover */
.upload-box:hover {
    border-color: rgba(212, 175, 55, 0.9);
    box-shadow:
        inset 0 0 22px rgba(212, 175, 55, 0.12),
        0 6px 18px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}

/* Upload success state */
.upload-box.uploaded {
    border-color: rgba(76, 175, 80, 0.9);
    color: #9be7a1;
    box-shadow:
        inset 0 0 22px rgba(76, 175, 80, 0.15),
        0 6px 18px rgba(76, 175, 80, 0.25);
}

.upload-box.uploaded .upload-icon {
    color: #4caf50;
}

/* Smooth icon swap */
.upload-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.upload-box.uploaded .upload-icon {
    transform: scale(1.1);
}

/* ============================= */
/* ICON INPUT (WITHDRAW ADDRESS) */
/* ============================= */

.deposit-group {
    display: flex;
    gap: 10px;
}

/* Wallet copy button */
.wallet-copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    background: linear-gradient(180deg, #1a1a1a, #0b0b0b);
    color: #d4af37;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;

    box-shadow:
        inset 0 0 14px rgba(212, 175, 55, 0.15),
        0 4px 14px rgba(212, 175, 55, 0.25);

    transition: all 0.25s ease;
}

.wallet-copy-btn i {
    font-size: 16px;
}

/* Hover */
.wallet-copy-btn:hover {
    background: linear-gradient(180deg, #222, #111);
    box-shadow:
        inset 0 0 20px rgba(212, 175, 55, 0.25),
        0 6px 22px rgba(212, 175, 55, 0.45);
    transform: translateY(-1px);
}

/* Copied state */
.wallet-copy-btn.copied {
    border-color: #4caf50;
    color: #9be7a1;
    box-shadow:
        inset 0 0 18px rgba(76, 175, 80, 0.25),
        0 6px 22px rgba(76, 175, 80, 0.35);
}

/* Input */
.deposit-input {
    flex: 1;
    background: linear-gradient(180deg, #121212, #0b0b0b);
    border: 1px solid #242424;
    color: #777;
    font-size: 13px;
}




.icon-input {
    position: relative;
}

/* .icon-input i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #cbb85a;
    font-size: 16px;
    opacity: 0.85;
} */

.icon-input i {
 
    color: #cbb85a;
    font-size: 16px;
    opacity: 0.85;
}

.icon-input input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    background: linear-gradient(180deg, #121212, #0b0b0b);
    border: 1px solid #242424;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.icon-input input::placeholder {
    color: #777;
}

.icon-input input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

.auth-select {
    width: 100%;
    padding: 13px 44px 13px 14px;
    /* space for arrow */
    background: linear-gradient(180deg, #121212, #0b0b0b);
    border: 1px solid #242424;
    border-radius: 10px;

    /* Default = placeholder look */
    color: #777;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image:
        linear-gradient(45deg, transparent 50%, #cbb85a 50%),
        linear-gradient(135deg, #cbb85a 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;

    transition: all 0.3s ease;
    cursor: pointer;
}

/* When a real value is selected */
.auth-select:not([value=""]) {
    color: #e6cf7a;
    /* champagne gold */
}

/* Placeholder option */
.auth-select option[value=""] {
    color: #777;
}

/* Focus state */
.auth-select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

/* Hover */
.auth-select:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

/* Dropdown options */
.auth-select option {
    background: #0b0b0b;
    color: #e0e0e0;
    /* softer than pure white */
}
/* ============================= */
/* FORCE PREMIUM DARK INPUTS */
/* ============================= */
input,
textarea,
select {
    background: linear-gradient(180deg, #121212, #0b0b0b) !important;
    color: #e6cf7a !important;
    /* champagne text */
    border: 1px solid #242424 !important;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

/* Placeholders (ALL types) */
input::placeholder,
textarea::placeholder {
    color: #777 !important;
}

/* Remove browser autofill white/yellow */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #e6cf7a !important;
    transition: background-color 9999s ease-in-out 0s;
    box-shadow: 0 0 0px 1000px #0b0b0b inset !important;
    caret-color: #e6cf7a;
}

/* Focus state */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.7) !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

/* Disabled fields */
input:disabled,
textarea:disabled,
select:disabled {
    background: #0e0e0e !important;
    color: #888 !important;
    cursor: not-allowed;
}


/* ============================= */
/* COMPANY WALLET QR SECTION */
/* ============================= */
.qr-container {
    margin-top: 24px;
    text-align: center;
    animation: fadeIn 0.6s ease forwards;
    position: relative;
}

.qr-container img {
    max-width: 220px;
    border-radius: 12px;
    box-shadow:
        0 12px 28px rgba(212, 175, 55, 0.25),
        0 0 18px rgba(255, 255, 255, 0.05) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-container img:hover {
    transform: scale(1.05);
    box-shadow:
        0 16px 36px rgba(212, 175, 55, 0.35),
        0 0 22px rgba(255, 255, 255, 0.08) inset;
}

.qr-container p {
    font-size: 13px;
    color: #cbb85a;
    margin-top: 8px;
    line-height: 1.4;
}

.qr-container button {
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f2dc87, #d4af37, #b08d2a);
    border: 1px solid rgba(212, 175, 55, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(212, 175, 55, 0.35);
}

.qr-container button:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 12px 28px rgba(212, 175, 55, 0.45);
}

/* FadeIn animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive for smaller devices */
@media (max-width: 576px) {
    .qr-container img {
        max-width: 180px;
    }

    .qr-container button {
        font-size: 12px;
        padding: 5px 10px;
    }

    .qr-container p {
        font-size: 12px;
    }
}