 :root { color-scheme: dark; }

.kohinoor-login-page { min-height: 100svh !important; margin: 0; padding: 20px 12px !important; overflow-x: hidden; color: #f7fff8 !important; font-family: "Poppins", sans-serif !important; background: #020b10 !important; }
.kohinoor-login-page::before, .kohinoor-login-page::after { display: none !important; }
.login-market-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle at 50% 12%, rgba(81, 255, 113, .08), transparent 28%), radial-gradient(circle at 12% 68%, rgba(2, 199, 107, .08), transparent 25%), #020b10; }
.kohinoor-login-shell { position: relative; isolation: isolate; z-index: 1; width: min(100%, 440px); min-height: calc(100svh - 40px); margin: 0 auto; padding: 31px 25px 27px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; overflow: hidden; border: 1px solid rgba(177, 255, 197, .64); border-radius: 27px; background: linear-gradient(160deg, rgba(3, 15, 22, .985), rgba(1, 10, 14, .96)); box-shadow: 0 0 0 5px rgba(255, 255, 255, .05), 0 20px 50px rgba(0, 0, 0, .62), inset 0 0 80px rgba(8, 110, 68, .07); }
.kohinoor-login-shell::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .7; background-image: radial-gradient(circle, rgba(150, 255, 119, .72) 0 1px, transparent 1.5px), radial-gradient(circle, rgba(255, 218, 94, .65) 0 1px, transparent 1.5px); background-size: 72px 72px, 111px 111px; background-position: 9px 66px, 35px 121px; mask-image: linear-gradient(to bottom, #000 0 56%, transparent 86%); }
.kohinoor-login-shell::after { content: ""; position: absolute; z-index: -2; left: 0; right: 0; bottom: 0; height: 47%; background: linear-gradient(to bottom, rgba(2, 11, 16, 0) 0%, rgba(2, 11, 16, .25) 14%, rgba(2, 11, 16, .04) 100%), url("../images/login-bull-hero.png") center bottom / 100% auto no-repeat; }
.login-intro, .login-card { width: 100%; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; }
.brand-mark { width: 53px; height: 47px; display: grid; place-items: center; color: #d9f45a; font-size: 37px; transform: skewX(-10deg); text-shadow: 0 2px 0 #327314, 0 0 16px rgba(173, 255, 62, .86); }
.brand-mark i { filter: drop-shadow(3px 3px 0 #c88e22); }
.brand-name { display: flex; flex-direction: column; align-items: center; margin-top: -5px; line-height: 1; letter-spacing: .12em; }.brand-name strong { color: #f1f6e8; font-size: 25px; font-weight: 700; text-shadow: 0 0 18px rgba(255,255,255,.15); }.brand-name span { margin-top: 6px; color: #b7d5aa; font-size: 8px; font-weight: 600; letter-spacing: .54em; padding-left: .54em; }
.brand-name::after { content: ""; width: 147px; height: 1px; margin-top: 9px; background: linear-gradient(90deg, transparent, #b3e34c 20%, #b3e34c 80%, transparent); box-shadow: 0 0 8px rgba(173, 255, 66, .8); }
.login-intro h1 { margin: 25px 0 17px; color: #fff; font-size: 14px; line-height: 1.25; font-weight: 600; text-align: center; }
.login-card { padding: 0; border: 0; background: transparent; box-shadow: none; }.login-card-inner { padding: 0; background: transparent; }.kohinoor-login-page .alert { margin: 0 0 13px; padding: 10px 12px; border: 1px solid rgba(255,188,116,.45); border-radius: 10px; background: rgba(110, 46, 14, .32); color: #fff !important; text-align: center; font-size: 12px; }
.kohinoor-login-page .quick-account-select { display: block !important; width: 100%; min-height: 42px !important; margin: 0 0 11px !important; padding: 0 14px !important; border: 1px solid rgba(166, 210, 195, .25) !important; border-radius: 10px !important; outline: 0; color: #c4ded1 !important; background: rgba(5, 22, 31, .86) !important; font-family: inherit; font-size: 11px; cursor: pointer; }.kohinoor-login-page .quick-account-select[hidden] { display: none !important; }.kohinoor-login-page .quick-account-select:focus { border-color: #67d46e !important; box-shadow: 0 0 0 3px rgba(80, 210, 103,.12) !important; }.kohinoor-login-page .quick-account-select option { color: #e8fff1; background: #07161c; }
.kohinoor-login-page .login-field { min-height: 53px !important; margin: 0 0 11px !important; padding: 0 12px !important; gap: 12px !important; border: 1px solid rgba(148, 195, 192, .28) !important; border-radius: 10px !important; background: rgba(6, 21, 30, .9) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 7px 15px rgba(0,0,0,.13) !important; }.kohinoor-login-page .login-field:focus-within { border-color: rgba(112, 227, 115, .82) !important; box-shadow: 0 0 0 3px rgba(70, 226, 102, .11) !important; }.kohinoor-login-page .login-field > i { width: 20px; flex: 0 0 20px; color: #d2e0de !important; font-size: 17px; text-align: center; }.kohinoor-login-page .login-field input { min-width: 0; height: 51px; padding: 0 !important; border: 0 !important; outline: 0; color: #fff !important; background: transparent !important; font-family: inherit; font-size: 11px !important; }.kohinoor-login-page .login-field input::placeholder { color: #aec0c4 !important; opacity: 1; }.kohinoor-login-page .password-toggle { width: 25px; height: 30px; flex: 0 0 25px; padding: 0; border: 0; color: #d2e0de !important; background: transparent !important; cursor: pointer; font-size: 15px; }.kohinoor-login-page .password-toggle i { color: inherit !important; }
.login-options { display: flex; align-items: center; justify-content: space-between; margin: 3px 2px 19px; color: #adbbb8; font-size: 10px; }.remember-me { display: flex; align-items: center; gap: 7px; cursor: pointer; }.remember-me input { position: absolute; opacity: 0; }.remember-me span { width: 14px; height: 14px; display: inline-block; border: 1px solid #528a61; border-radius: 3px; box-sizing: border-box; }.remember-me input:checked + span { position: relative; border-color: #40c95a; background: #27a745; box-shadow: 0 0 9px rgba(56, 217, 87,.46); }.remember-me input:checked + span::after { content: "✓"; position: absolute; inset: -2px 0 0; color: #e9ffe9; font-size: 12px; line-height: 14px; text-align: center; }.forgot-link { color: #88db55 !important; font-weight: 500; text-decoration: none !important; }
.kohinoor-login-page .login-btn { position: relative; width: 100%; min-height: 45px !important; margin: 0 !important; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #5ef06d !important; border-radius: 10px !important; color: #f6fff4 !important; background: linear-gradient(180deg, #1d9c36, #075e20) !important; font-family: inherit; font-size: 14px !important; font-weight: 600 !important; letter-spacing: .03em; box-shadow: 0 0 15px rgba(76, 235, 91,.42), inset 0 1px 0 rgba(226, 255, 222,.65), inset 0 -8px 14px rgba(0, 61, 15,.16) !important; }.kohinoor-login-page .login-btn span { color: #f6fff4 !important; }.kohinoor-login-page .login-btn i { position: absolute; right: 19px; color: #f6fff4 !important; font-size: 16px; }.kohinoor-login-page .login-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }.kohinoor-login-page .login-btn:active { transform: translateY(1px); }.kohinoor-login-page .login-btn.btn-loading span, .kohinoor-login-page .login-btn.btn-loading i { visibility: hidden; }.kohinoor-login-page .login-btn.btn-loading::after { content: ""; position: absolute; width: 19px; height: 19px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: login-spin .7s linear infinite; } @keyframes login-spin { to { transform: rotate(360deg); } }
.login-actions { width: 100%; margin-top: auto; padding-top: 16px; text-align: center; }.signup { color: #d4ded8; font-size: 10px; }.signup a { color: #91de5b !important; font-weight: 500; text-decoration: underline !important; text-underline-offset: 2px; }.security-note { display: none; }
.kohinoor-signup-page .kohinoor-login-shell { min-height: calc(100svh - 40px); }.kohinoor-signup-page .signup-intro h1 { margin: 22px 0 14px; }.kohinoor-signup-page .signup-field-note { margin: -7px 3px 10px; color: #9eb5ad; font-size: 9px; line-height: 1.3; }.kohinoor-signup-page .signup-alert:empty { display: none; }.kohinoor-signup-page .signup-btn { margin: 2px 0 0 !important; }.kohinoor-signup-page .signup-actions { padding-top: 15px; }.kohinoor-signup-page .kohinoor-login-shell::after { height: 37%; opacity: .9; }
@media (min-width: 621px) { .kohinoor-login-page { padding: 32px !important; }.kohinoor-login-shell { min-height: min(760px, calc(100svh - 64px)); }.kohinoor-login-shell::after { height: 48%; } }

/* Animated ZORVEX market graph behind the authentication forms. */
.auth-trading-graph { position: relative; z-index: 1; width: 100%; height: 82px; margin: 10px 0 0; overflow: hidden; pointer-events: none; border: 1px solid rgba(125, 229, 109, .18); border-radius: 10px; background: linear-gradient(180deg, rgba(4, 28, 26, .56), rgba(2, 13, 18, .08)); opacity: .96; }
.auth-trading-graph svg { width: 100%; height: 100%; display: block; }
.auth-graph-grid { fill: none; stroke: rgba(161, 239, 128, .18); stroke-width: 1; stroke-dasharray: 2 7; }
.auth-graph-candles { fill: rgba(67, 207, 73, .36); stroke: #8df46d; stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(100, 240, 87, .48)); animation: auth-candle-pulse 2.6s ease-in-out infinite alternate; }
.auth-graph-area { fill: url(#authGraphFade); fill: rgba(53, 217, 70, .11); opacity: .55; }
.auth-graph-line { fill: none; stroke: #a9fa75; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(131, 244, 95, .85)); stroke-dasharray: 560; stroke-dashoffset: 560; animation: auth-graph-draw 4.5s ease-in-out infinite; }
.kohinoor-login-shell .login-intro, .kohinoor-login-shell .login-card { position: relative; z-index: 1; }
.auth-trading-graph + h1 { margin-top: 10px; }
.kohinoor-signup-page .auth-trading-graph { height: 106px; opacity: .82; }
.auth-create-account-button, .auth-login-button { min-height: 31px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 9px 0 0 4px; padding: 0 12px; border: 1px solid rgba(131, 238, 104, .65); border-radius: 8px; color: #eaffdf !important; background: linear-gradient(180deg, rgba(29, 144, 52, .94), rgba(5, 92, 29, .94)); box-shadow: 0 0 11px rgba(78, 231, 86, .22), inset 0 1px 0 rgba(226, 255, 215, .21); font-size: 10px; font-weight: 700; text-decoration: none !important; text-underline-offset: 0 !important; }
.auth-create-account-button i, .auth-login-button i { font-size: 10px; }
.auth-create-account-button:hover, .auth-login-button:hover { color: #fff !important; filter: brightness(1.1); transform: translateY(-1px); }
.login-actions-top { margin: -8px 0 13px; padding: 0; }.login-actions-top .signup { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }.login-actions-top .auth-create-account-button, .login-actions-top .auth-login-button { min-height: 29px; margin: 0; padding: 0 10px; }
@keyframes auth-graph-draw { 0% { stroke-dashoffset: 560; opacity: .25; } 45%, 75% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -560; opacity: .25; } }
@keyframes auth-candle-pulse { from { opacity: .38; } to { opacity: .92; } }
@media (prefers-reduced-motion: reduce) { .auth-graph-line, .auth-graph-candles { animation: none; } }

/* Login bull hero: placed above the account controls. */
.kohinoor-login-page .kohinoor-login-shell::after { display: none; }
.login-bull-visual { position: relative; z-index: 1; width: 100%; height: 154px; margin: 9px 0 0; overflow: hidden; border: 1px solid rgba(120, 231, 106, .24); border-radius: 15px; background: radial-gradient(circle at 50% 30%, rgba(69, 212, 79, .17), transparent 43%), #031016; box-shadow: inset 0 0 20px rgba(142, 255, 125, .07), 0 10px 20px rgba(0,0,0,.2); }
.login-bull-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(2, 13, 17, .08), transparent 42%, rgba(2, 13, 17, .18)); }
.login-bull-visual img { width: 122%; height: 180px; max-height: none; margin: -12px 0 0 -11%; display: block; object-fit: cover; object-position: center 59%; filter: saturate(1.08) contrast(1.05) drop-shadow(0 0 10px rgba(82, 243, 91, .24)); transform-origin: 50% 66%; animation: login-bull-float 4.8s ease-in-out infinite; }
.login-bull-visual + h1 { margin-top: 13px; }
@keyframes login-bull-float { 0%,100% { transform: translate3d(0,0,0) scale(.98); filter: saturate(1.08) contrast(1.05) drop-shadow(0 0 8px rgba(82,243,91,.2)); } 50% { transform: translate3d(0,-7px,0) scale(1.055); filter: saturate(1.16) contrast(1.08) drop-shadow(0 0 18px rgba(94,249,96,.48)); } }
@media (prefers-reduced-motion: reduce) { .login-bull-visual img { animation: none; } }
.login-bull-visual { height: 190px; }.login-bull-visual img { height: 222px; margin-top: -15px; }

/* Keep the authentication screens open to the page background, without an outer frame. */
.kohinoor-login-shell { border: 0; box-shadow: 0 20px 50px rgba(0, 0, 0, .62), inset 0 0 80px rgba(8, 110, 68, .07); }

@media (max-width: 620px) {
    .kohinoor-login-page { padding: 0 !important; }
    .kohinoor-login-shell { width: 100%; min-height: 100svh; margin: 0; border-radius: 0; }
}

/* Compact terminal login design. */
.kohinoor-login-page {
    display: grid;
    place-items: center;
    padding: 16px 6px !important;
    background: #010908 !important;
}
.login-market-bg {
    background: radial-gradient(circle at 50% 2%, rgba(0, 181, 125, .055), transparent 35%), #010908;
}
.kohinoor-login-shell {
    width: min(100%, 352px);
    min-height: 525px;
    margin: 0;
    padding: 32px 32px 30px;
    justify-content: center;
    border: 1px solid rgba(27, 206, 156, .56);
    border-radius: 25px;
    background: #07131c;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .015);
}
.kohinoor-login-shell::before,
.kohinoor-login-shell::after,
.login-bull-visual { display: none !important; }
.login-card { width: 100%; }
.login-card-inner { width: 100%; }
.auth-brand { display: flex; flex-direction: column; align-items: center; margin: 0 0 31px; }
.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(30, 203, 157, .28);
    border-radius: 12px;
    color: #0dca91;
    background: #062d2d;
    font-size: 22px;
    transform: none;
    text-shadow: none;
}
.brand-mark i { filter: none; }
.brand-name { margin-top: 15px; line-height: 1; letter-spacing: 0; }
.brand-name strong { color: #e7edf4; font-size: 22px; font-weight: 400; letter-spacing: -.06em; }
.brand-name strong em { font-weight: 500; }
.brand-name span { margin-top: 8px; padding: 0; color: #0bca95; font-size: 7px; font-weight: 600; letter-spacing: .47em; }
.brand-name::after { display: none; }
.kohinoor-login-page .alert { margin: -12px 0 18px; font-size: 10px; }
.kohinoor-login-page .quick-account-select {
    min-height: 44px !important;
    margin-bottom: 14px !important;
    border-color: #172534 !important;
    border-radius: 14px !important;
    background: #0a1625 !important;
    font-size: 10px;
}
.kohinoor-login-page .login-field {
    min-height: 44px !important;
    margin: 0 0 20px !important;
    padding: 0 14px !important;
    gap: 12px !important;
    border-color: #172534 !important;
    border-radius: 14px !important;
    background: #0a1625 !important;
    box-shadow: none !important;
}
.kohinoor-login-page .login-field:focus-within {
    border-color: rgba(15, 203, 151, .75) !important;
    box-shadow: 0 0 0 3px rgba(12, 198, 147, .09) !important;
}
.kohinoor-login-page .login-field > i { width: 17px; flex-basis: 17px; color: #056d63 !important; font-size: 14px; }
.kohinoor-login-page .login-field input { height: 42px; color: #e1ebf0 !important; font-size: 10px !important; }
.kohinoor-login-page .login-field input::placeholder { color: #637287 !important; }
.kohinoor-login-page .password-toggle { color: #718196 !important; font-size: 13px; }
.kohinoor-login-page .login-btn {
    min-height: 45px !important;
    margin-top: 2px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: linear-gradient(100deg, #09ba8b, #05684f) !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .18em;
}
.kohinoor-login-page .login-btn i { display: none; }
.auth-switch { margin: 19px 0 0; color: #718096; font-size: 8px; font-weight: 500; text-align: center; }
.auth-switch a { color: #0acb96; font-weight: 600; text-decoration: none; }
@media (min-width: 621px) {
    .kohinoor-login-shell { min-height: 525px; }
}
@media (max-width: 620px) {
    .kohinoor-login-page {
        display: block;
        min-height: 100svh;
        padding: 40px 16px 24px !important;
        background: #010c0b !important;
    }
    .kohinoor-login-shell {
        width: 100%;
        min-height: 550px;
        padding: 34px 32px 30px;
        border: 1px solid rgba(18, 207, 155, .62);
        border-radius: 26px;
    }
    .brand-mark { width: 54px; height: 54px; border-radius: 14px; font-size: 27px; }
    .brand-name { margin-top: 17px; }
    .brand-name strong { font-size: 24px; }
    .auth-brand { margin-bottom: 38px; }
}

/* Registration uses the same terminal card, with field labels from the reference. */
.kohinoor-signup-page .kohinoor-login-shell { min-height: 650px; }
.kohinoor-signup-page .auth-brand { margin-bottom: 28px; }
.auth-field-label { display: block; margin: 0 0 9px 3px; color: #9aaabd; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.kohinoor-signup-page .login-field { margin-bottom: 18px !important; }
.kohinoor-signup-page .signup-btn { margin-top: 0 !important; }
@media (max-width: 620px) {
    .kohinoor-signup-page .kohinoor-login-shell { min-height: 650px; }
}
