@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Noto+Sans:wght@300;600&display=swap');

:root {
    --tb-bg: #0a0a14;
    --tb-bg-soft: #111122;
    --tb-panel: #202038;
    --tb-border: rgba(255, 255, 255, 0.08);
    --tb-lime: #147AE6;
    --tb-lime-soft: rgba(20, 122, 230, 0.8);
    --tb-text: #ffffff;
    --tb-muted: #a3a1b8;
    --tb-danger: #DB4254;
    --tb-yellow: #FFD700;
    --tb-orange: #FF6A56;
    --tb-theme: #147AE6
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
    background: radial-gradient(circle at 15% 20%, rgba(20, 122, 230, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 85% 80%, rgba(105, 87, 186, 0.1) 0%, transparent 50%),
                var(--tb-bg);
    color: var(--tb-text);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, calc(100% - 1.2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(4, 4, 4, 0.94);
    border-bottom: 1px solid rgba(255, 106, 86, 0.2);
    overflow: hidden;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 106, 86, 0.24);
}

.landing-page .site-header::before {
    content: "";
    position: absolute;
    left: -130px;
    bottom: 0;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 86, 0.35), var(--tb-lime), rgba(255, 106, 86, 0.35), transparent);
    box-shadow: 0 0 10px rgba(255, 106, 86, 0.85);
    animation: headerLineGlow 8s linear infinite;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.brand-text {
    color: var(--tb-lime);
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.btn {
    border: 0;
    border-radius: 12px;
    min-height: 42px;
    padding: 0.56rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* .btn-primary {
    background: var(--tb-lime);
    color: #0b0b0b;
} */

/* .btn-primary:hover {
    background: var(--tb-lime-soft);
} */

.btn-outline {
    background: #0f0f0f;
    color: #f3f3f3;
    border: 1px solid rgba(255, 106, 86, 0.85);
}

.btn-pill {
    border-radius: 999px;
    min-width: 92px;
}

.menu-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 106, 86, 0.45);
    background: #0a0a0a;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.menu-icon span {
    width: 18px;
    height: 2px;
    background: var(--tb-lime);
    border-radius: 4px;
}

.desktop-only {
    display: none;
}

.panel {
    background: linear-gradient(160deg, rgba(14, 14, 14, 0.98), rgba(8, 8, 8, 0.96));
    border: 1px solid var(--tb-border);
    border-radius: 22px;
}

.panel-light {
    background: var(--tb-lime);
    border: 1px solid rgba(30, 31, 27, 0.25);
    border-radius: 22px;
    color: #111;
}

.hero {
    padding: 2.4rem 0 0.4rem;
    position: relative;
    z-index: 2;
}

.landing-hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.hero-headline {
    margin: 0;
    font-size: clamp(2rem, 12vw, 4.2rem);
    line-height: 1.08;
    font-weight: 800;
    color: #f4f4f4;
    letter-spacing: 0.2px;
}

.hero-cta {
    margin-top: 1.55rem;
}

.hero-cta .btn {
    min-width: 156px;
    border-radius: 10px;
    font-size: 1.05rem;
    min-height: 52px;
}

.wave-wrap {
    margin-top: 1.3rem;
    background: linear-gradient(180deg, rgba(255, 106, 86, 0.16), rgba(255, 106, 86, 0.27));
    border-top: 1px solid rgba(255, 106, 86, 0.2);
    border-bottom: 1px solid rgba(255, 106, 86, 0.2);
}

.graph-shell {
    padding: 0.6rem 0.4rem 0.89rem;
    position: relative;
    overflow: hidden;
}

.graph-shell canvas {
    width: 100%;
    height: 220px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 106, 86, 0.5));
}

.landing-stack {
    position: relative;
    isolation: isolate;
    background: var(--tb-bg);
}

.crypto-stage {
    position: absolute;
    inset: 0;
    margin: 0;
    height: auto;
    background: var(--tb-bg);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.crypto-stage #heroGraph {
    width: 100%;
    height: 100%;
    display: block;
    filter: none;
}

.hero-device {
    position: relative;
    z-index: 2;
    margin-top: -10px;
}

.phone-mock {
    margin: 0 auto 0;
    width: min(360px, calc(100% - 1rem));
    border-radius: 40px;
    border: 4px solid #6a6a6a;
    background: radial-gradient(circle at 50% 20%, #171717, #080808 65%);
    padding: 2rem 1.2rem;
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.04), 0 -10px 40px rgba(0, 0, 0, 0.6);
}

.phone-mock .meta {
    color: #d2d2d2;
    font-size: 0.82rem;
    text-align: center;
    margin-bottom: 1rem;
}

.phone-mock .big {
    font-size: clamp(2rem, 10vw, 3rem);
    text-align: center;
    font-weight: 700;
    margin: 0.4rem 0;
}

.section-title {
    margin: 1.6rem 0 0.8rem;
    font-size: 1rem;
    color: var(--tb-lime);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1.1rem 0;
}

.stat-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 106, 86, 0.25);
    background: #0d0d0d;
    padding: 0.8rem;
}

.stat-card h3 {
    margin: 0;
    color: #dedede;
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-card p {
    margin: 0.3rem 0 0;
    color: var(--tb-lime);
    font-size: 1.08rem;
    font-weight: 700;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.badge {
    font-size: 0.76rem;
    color: #d9d9d9;
    background: #101010;
    border: 1px solid rgba(255, 106, 86, 0.26);
    border-radius: 999px;
    padding: 0.36rem 0.58rem;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    border: 1px solid rgba(255, 106, 86, 0.25);
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0a;
}

th,
td {
    padding: 0.7rem 0.66rem;
    text-align: left;
    border-bottom: 1px solid #161616;
    white-space: nowrap;
}

th {
    color: #111;
    background: var(--tb-lime);
    font-size: 0.8rem;
    font-weight: 700;
}

td {
    color: #ececec;
    font-size: 0.86rem;
}

.footer {
    border-top: 1px solid rgba(255, 106, 86, 0.25);
    color: #a9a9a9;
    font-size: 0.82rem;
    padding: 1rem 0 5.5rem;
    margin-top: 1.6rem;
}

.form-shell {
    width: min(430px, calc(100% - 1rem));
    margin: 1.2rem auto 1rem;
    padding: 1rem;
    border-radius: 26px;
}

.auth-center {
    min-height: calc(100vh - 74px);
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    padding: 1rem 0 1.5rem;
}

.auth-center .form-shell {
    margin: 0;
}

.auth-login-page,
.auth-register-page {
    position: relative;
    isolation: isolate;
}

.auth-login-page::before,
.auth-register-page::before {
    content: "";
    position: absolute;
    width: min(580px, 92vw);
    height: min(580px, 92vw);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 106, 86, 0.2) 0%, rgba(255, 106, 86, 0.08) 35%, rgba(255, 106, 86, 0) 70%);
    filter: blur(10px);
    animation: authHaloPulse 3.4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.auth-login-page .animated-auth-shell,
.auth-register-page .animated-auth-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 106, 86, 0.32);
    box-shadow: 0 0 24px rgba(255, 106, 86, 0.12), inset 0 0 18px rgba(255, 106, 86, 0.04);
    z-index: 1;
}

/* .auth-login-page .animated-auth-shell::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(
        from 0deg,
        rgba(255, 106, 86, 0) 0deg,
        rgba(255, 106, 86, 0) 55deg,
        rgba(255, 106, 86, 0.95) 95deg,
        rgba(255, 106, 86, 0) 140deg,
        rgba(255, 106, 86, 0) 360deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: authOutlineSpin 5.8s linear infinite;
    pointer-events: none;
}

.auth-login-page .animated-auth-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(140px 60px at 12% 16%, rgba(255, 106, 86, 0.12), transparent 75%),
        radial-gradient(140px 60px at 82% 82%, rgba(255, 106, 86, 0.1), transparent 75%);
    opacity: 0.55;
    animation: authInnerGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
} */

.auth-login-page .auth-heading,
.auth-register-page .auth-heading,
.auth-login-page .auth-highlight,
.auth-register-page .auth-highlight {
    text-shadow: 0 0 16px rgba(255, 106, 86, 0.2);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.auth-brand img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
}

.auth-brand .title {
    color: var(--tb-lime);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.auth-brand .sub {
    color: #cfcfcf;
    font-size: 0.82rem;
}

.auth-heading {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
}

.auth-highlight {
    margin: 0.2rem 0 1rem;
    color: var(--tb-lime);
    font-size: 1.25rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 0.78rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    color: #8f8f8f;
    font-size: 0.8rem;
}

.form-shell .form-group {
    position: relative;
}

.form-shell .form-group label {
    position: absolute;
    top: 8px;
    left: 14px;
    margin: 0;
    font-size: 0.76rem;
    color: #707070;
    pointer-events: none;
    z-index: 1;
}

.form-control {
    width: 100%;
    background: #080808;
    border: 1.4px solid var(--tb-lime-soft);
    border-radius: 999px;
    min-height: 48px;
    color: #f1f1f1;
    padding: 1.22rem 0.92rem 0.46rem;
    font-size: 0.95rem;
    outline: none;
}

.form-control:focus {
    box-shadow: 0 0 0 2px rgba(255, 106, 86, 0.2);
}

.auth-submit {
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.auth-login-link {
    text-align: center;
    margin: 0.92rem 0 0;
    color: #d8d8d8;
}

.auth-login-link a {
    color: var(--tb-lime);
    font-weight: 700;
}

.feature-mini-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.48rem;
}

.feature-mini {
    background: #101010;
    border-radius: 14px;
    border: 1px solid #1a1a1a;
    padding: 0.55rem 0.3rem;
    text-align: center;
    min-height: 98px;
}

.feature-mini .icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    background: #060606;
    color: var(--tb-lime);
    border: 1px solid rgba(255, 106, 86, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.feature-mini .txt {
    font-size: 0.68rem;
    color: var(--tb-lime);
    font-weight: 700;
    line-height: 1.2;
}

.error {
    color: #ffb9b9;
    border: 1px solid rgba(255, 92, 92, 0.6);
    background: rgba(255, 92, 92, 0.12);
    border-radius: 12px;
    padding: 0.52rem 0.72rem;
    margin-bottom: 0.72rem;
    font-size: 0.84rem;
}

.success {
    color: #0b0b0b;
    border: 1px solid var(--tb-lime-soft);
    background: var(--tb-lime);
    border-radius: 12px;
    padding: 0.52rem 0.72rem;
    margin-bottom: 0.72rem;
    font-size: 0.84rem;
}

.otp-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);

    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
}

.otp-modal-backdrop.show {
    display: flex;
}

.otp-modal {
    width: min(480px, 100%);
    border-radius: 18px;
    background: var(--tb-lime);
    color: #0c0c0c;
    padding: 0.88rem;
    border: 1px solid rgba(0, 0, 0, 0.32);
}

.otp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
}

.otp-input {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1.4px solid #ff6d4d;
    background: #d9d9d9;
    padding: 0.62rem 0.82rem;
    font-size: 0.98rem;
    outline: none;
}

.otp-required {
    color: #ff4f3a;
    font-size: 0.82rem;
    margin: 0.38rem 0 0.8rem;
}

.otp-actions {
    display: grid;
    gap: 0.56rem;
}

.otp-btn-dark {
    min-height: 44px;
    border-radius: 12px;
    background: #020202;
    color: #f2f2f2;
    font-size: 1rem;
    border: 1px solid #252525;
}

.otp-btn-line {
    min-height: 44px;
    border-radius: 12px;
    background: transparent;
    color: #0c0c0c;
    font-size: 1rem;
    border: 1px solid #0c0c0c;
}

.landing-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    color: #111;
    border-top: 1px solid #dadada;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    min-height: 58px;
}

.landing-dock .item {
    font-size: 0.72rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.chat-float {
    position: fixed;
    bottom: 64px;
    left: 10px;
    z-index: 55;
    background: #17b956;
    color: #fff;
    border-radius: 999px;
    padding: 0.55rem 0.88rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
}

.help-float {
    position: fixed;
    bottom: 64px;
    right: 14px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--tb-lime-soft);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
    z-index: 55;
}

.lead {
    color: var(--tb-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.fade-up {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.78s ease forwards;
}

.fade-up:nth-child(2) {
    animation-delay: 0.12s;
}

.fade-up:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headerLineGlow {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(100vw + 260px));
    }
}

@keyframes authOutlineSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes authHaloPulse {
    0% {
        opacity: 0.36;
        transform: translate(-50%, -50%) scale(0.96);
    }
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

@keyframes authInnerGlow {
    from {
        opacity: 0.35;
    }
    to {
        opacity: 0.66;
    }
}

@media (min-width: 760px) {
    .desktop-only {
        display: inline-flex;
    }

    .menu-icon {
        display: none;
    }
}

@media (min-width: 900px) {
    .hero {
        padding-top: 3rem;
    }

    .hero-device {
        margin-top: -14px;
    }

    .landing-dock,
    .chat-float,
    .help-float {
        display: none;
    }

    .footer {
        padding-bottom: 1rem;
    }
}

@media (max-width: 560px) {
    .header-inner {
        min-height: 66px;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-mini-grid {
        gap: 0.4rem;
    }

    .feature-mini .txt {
        font-size: 0.64rem;
    }

    .auth-center {
        min-height: calc(100vh - 66px);
    }

    table {
        min-width: 650px;
    }
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   PREMIUM GLASSMORPHIC THEMING (zProTrade.com)
   ========================================================================== */
.panel, 
.card,
.auth-center .form-shell,
aside.sidebar,
aside.mobile-more-sheet {
    background: rgba(32, 32, 56, 0.45) !important;


    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.45) !important;
    border-radius: 16px !important;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.panel:hover {
    border-color: rgba(255, 106, 86, 0.25) !important;
}

.form-control,
select.form-control,
textarea.form-control {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f2f2f2 !important;
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
    font-size: 0.88rem !important;
}

.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: #FF6A56 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 10px rgba(255, 106, 86, 0.25) !important;
    outline: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6A56 0%, #DB4254 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(219, 66, 84, 0.3) !important;
    color: white !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.btn-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(219, 66, 84, 0.45) !important;
    opacity: 0.95 !important;
}

/* .btn-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #e2e1e7 !important;
    transition: all 0.25s ease !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
} */

/* Table styling adjustments */
table th {
    background: rgba(255, 255, 255, 0.02) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08) !important;
    color: #FF6A56 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    color: #d1cfdd !important;
}

/* Sidebar active indicators */
.sidebar a.active {
    background: linear-gradient(135deg, rgba(255, 106, 86, 0.15) 0%, rgba(219, 66, 84, 0.15) 100%) !important;
    border-color: rgba(255, 106, 86, 0.4) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   ONETRADE LOGIN / AUTH CARD STYLING (PALETTE SKINNED)
   ========================================================================== */

.onetrade-auth-card {
    background: rgba(32, 32, 56, 0.45) !important; /* Mapped to 202038 panel */


    border-radius: 18px !important;
    width: 100% !important;
    max-width: 366px !important;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    box-shadow: rgba(20, 122, 230, 0.1) 0px 0px 40px !important; /* Dodger blue glow */
    box-sizing: border-box !important;
    margin: 10px auto !important;
    border: none !important; /* Managed by pseudo-element gradient border */
}

.onetrade-auth-card::before {
    content: "" !important;
    pointer-events: none !important;
    background: linear-gradient(230.01deg, rgba(20, 122, 230, 0.35) 57.8%, rgba(105, 87, 186, 0) 102.3%) !important; /* Blue to Purple */
    border-radius: 18px !important;
    padding: 1px !important;
    position: absolute !important;
    inset: 0px !important;
    mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0) !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0) !important;
}

@media (min-width: 768px) {
    .onetrade-auth-card {
        max-width: 582px !important;
        padding: 32px 40px !important;
    }
}

.auth-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.auth-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    margin: 0 0 0.8rem 0 !important;
}

/* Switcher Tabs styling */
.auth-switcher {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;


    border-radius: 18px !important;
    align-items: center !important;
    padding: 6px 7px !important;
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 1.8rem !important;
}

.auth-switch-tab {
    color: #768299 !important;
    text-align: center !important;
    border-radius: 12px !important;
    flex: 1 1 0px !important;
    padding: 6px 24px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 23px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    display: block !important;
}

.auth-switch-tab.active {
    color: #ffffff !important;
    filter: drop-shadow(rgba(20, 122, 230, 0.45) 0px 0px 7.5px) !important;
    background: #147AE6 !important; /* Dodger blue active state */
    font-weight: 600 !important;
}

/* Label styling */
.ot-label {
    font-size: 15px !important;
    font-weight: 300 !important;
    color: #768299 !important;
    margin: 0 0 8px 0 !important;
}

/* Inputs design */
.ot-input-wrapper {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;


    border-radius: 14px !important;
    height: 44px !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: background 0.15s, border-color 0.15s !important;
}

.ot-input-wrapper:focus-within {
    background: rgba(51, 57, 70, 0.8) !important;
    border-color: rgba(20, 122, 230, 0.6) !important;
}

.ot-input {
    width: 100% !important;
    min-width: 0px !important;
    color: #ffffff !important;
    background: transparent !important;
    border: 0px !important;
    outline: none !important;
    flex: 1 !important;
    padding: 0px !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 16px !important;
    box-shadow: none !important;
}

.ot-input::placeholder {
    color: #6b7d8c !important;
}

.password-input-wrap {
    position: relative;
    width: 100%;
}

.password-toggle-icon {
    color: #768299;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    display: inline-flex;
    align-items: center;
}

.password-toggle-icon:hover {
    color: #ffffff;
}

.forgot-link {
    color: #147AE6 !important; /* dodger blue link */
    font-size: 15px !important;
    line-height: 20px !important;
    text-decoration: underline !important;
}

.forgot-link:hover {
    color: #ff6a56 !important; /* Coral hover */
}

/* Submit premium button */
.ot-submit-btn {
    background: linear-gradient(126.41deg, #147AE6 -34.69%, rgba(20, 122, 230, 0.12) 83.17%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 12px !important;
    height: 44px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border: 0px !important;
    border-radius: 14px !important;
    width: 100% !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(20, 122, 230, 0.15) !important;
    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    transition: all 0.25s ease !important;
}

.ot-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(20, 122, 230, 0.35) !important;
}

/* Outline style buttons for header and support */
.btn-ot-outline {
    box-shadow: 10px 4px 20px 0 rgba(20, 122, 230, 0.04) !important;
    letter-spacing: -0.15px !important;
    background: #0a0e15 !important;
    border: none !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    line-height: 20px !important;
    padding: 10px 18px !important;
    position: relative !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

.btn-ot-outline::before {
    content: "" !important;
    background: linear-gradient(339.1deg, #147AE6 -15.5%, rgba(20, 122, 230, 0) 88.47%) !important;
    pointer-events: none !important;
    border-radius: 16px !important;
    padding: 1px !important;
    position: absolute !important;
    inset: 0px !important;
    mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0) !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0) !important;
}

.btn-ot-outline:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* Auth Page Footer Navigation */
.auth-footer {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 20px !important;
    padding: 12px 24px !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0.5rem auto 0 auto !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.auth-footer-divider {
    display: none !important;
}

.auth-footer a {
    color: #768299 !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.auth-footer a:hover {
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .auth-footer {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 14px 32px !important;
        max-width: 800px !important;
        margin-top: 2rem !important;
    }
}

/* Floating support button */
.floating-support-btn {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background: #0a0e15 !important;
    color: #ffffff !important;
    padding: 10px 18px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 10px 4px 20px 0 rgba(20, 122, 230, 0.06) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    z-index: 50 !important;
    transition: all 0.25s ease !important;
    border: none !important;
}

.floating-support-btn::before {
    content: "" !important;
    background: linear-gradient(339.1deg, #147AE6 -15.5%, rgba(20, 122, 230, 0) 88.47%) !important;
    pointer-events: none !important;
    border-radius: 16px !important;
    padding: 1px !important;
    position: absolute !important;
    inset: 0px !important;
    mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0) !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0) !important;
}

.floating-support-btn:hover {
    transform: translateY(-1px) !important;
}

/* Custom visual logo text styling matching image */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.75rem !important;
    font-family: 'Poppins', sans-serif;
    user-select: none;
}
.logo-title {
    font-size: 30px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    display: flex;
    align-items: baseline;
    letter-spacing: 1.5px;
}
.logo-z {
    color: #147AE6;
    background: linear-gradient(135deg, #147AE6 0%, #6957BA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.logo-pro {
    color: #ffffff; /* Contrast on dark backgrounds */
    font-weight: 900;
}
.logo-trade {
    color: #147AE6;
    background: linear-gradient(135deg, #147AE6 0%, #6957BA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.logo-subtitle-row {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 280px;
    gap: 8px;
    margin-top: 4px;
}
.logo-line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, rgba(20, 122, 230, 0.2), #147AE6);
    opacity: 0.7;
}
.logo-subtitle-row .logo-line:last-of-type {
    background: linear-gradient(90deg, #147AE6, rgba(20, 122, 230, 0.2));
}
.logo-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: lowercase;
    letter-spacing: 3.5px;
    white-space: nowrap;
    line-height: 1;
}

/* Scaling logo for Site Header */
.site-header .logo-wrapper {
    margin-bottom: 0;
}
.site-header .logo-title {
    font-size: 22px;
    letter-spacing: -0.7px;
}
.site-header .logo-subtitle-row {
    max-width: 160px;
    gap: 4px;
    margin-top: 1px;
}
.site-header .logo-subtitle {
    font-size: 7.5px;
    letter-spacing: 2px;
}

/* Resolve label and placeholder overlapping in auth forms */
.onetrade-auth-card .form-group {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 0.85rem !important;
}

.onetrade-auth-card .form-group label.ot-label {
    position: static !important;
    pointer-events: auto !important;
    margin: 0 !important;
    color: #768299 !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    display: inline-block !important;
    z-index: auto !important;
}

.password-label-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

/* Animated gradient background styling */
@keyframes gradientBg {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes bentoGlow {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.92;
    }
    50% {
        transform: translateY(20px) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.92;
    }
}

.animated-gradient-bg {
    background: #0c0b16 !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -2 !important;
    pointer-events: none !important;
    overflow: hidden;
}

.animated-gradient-bg::before {
    content: "" !important;
    position: absolute !important;
    bottom: -200px !important;
    left: -15% !important;
    right: -15% !important;
    height: 620px !important;
    background: radial-gradient(circle, rgba(255, 106, 86, 0.6) 0%, rgba(219, 66, 84, 0.6) 38%, rgba(105, 87, 186, 0.3) 68%, transparent 100%) !important;
    opacity: 0.95 !important;
    filter: blur(45px) !important;
    animation: bentoGlow 12s ease-in-out infinite !important;
    pointer-events: none !important;
}

/* Abstract background glowing orbs styling */
.auth-bg-orb {
    position: absolute !important;
    border-radius: 50% !important;
    filter: blur(65px) !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.auth-bg-orb-1 {
    width: 260px !important;
    height: 260px !important;
    background: radial-gradient(circle, rgba(20, 122, 230, 0.22) 0%, transparent 70%) !important;
    top: 8% !important;
    left: 8% !important;
}

.auth-bg-orb-2 {
    width: 300px !important;
    height: 300px !important;
    background: radial-gradient(circle, rgba(105, 87, 186, 0.2) 0%, transparent 70%) !important;
    top: 32% !important;
    right: 8% !important;
}

/* Mobile viewport rendering and performance fixes (to prevent Chrome Mobile backdrop-filter compositing glitches, black boxes, and invisible text) */
@media (max-width: 991px) {
    /* Disable heavy background animations on mobile to stop constant layout updates */
    .dash-orb,
    .dash-grid {
        animation: none !important;
        display: none !important;
    }

    /* Fallback to high-performance solid semi-transparent backgrounds instead of backdrop-filter blurs on mobile screens */
    .ot-balance-card,
    .ot-balance-card.trading-card,
    .ot-balance-card.income-card,
    .trading-content-card,
    .ot-referral-card,
    .mobile-bottom-nav a,
    .inactive-teaser-card,
    .panel,
    .card,
    .onetrade-auth-card,
    .auth-switcher,
    .ot-input-wrapper,
    .user-drawer-backdrop,
    .mobile-more-backdrop {


    }

    .ot-balance-card,
    .ot-balance-card.trading-card,
    .ot-balance-card.income-card {
        background: linear-gradient(135deg, rgba(35, 28, 48, 0.96) 0%, rgba(20, 20, 36, 0.98) 100%) !important;
    }

    .trading-content-card,
    .ot-referral-card,
    .panel,
    .card,
    .onetrade-auth-card {
        background: rgba(22, 22, 38, 0.97) !important;
    }

    .inactive-teaser-card {
        background: rgba(20, 25, 30, 0.97) !important;
    }

    .mobile-bottom-nav a {
        background: rgba(20, 20, 35, 0.98) !important;
    }
}






