 :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 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; }
}

/* Simba Profit: a gold-trimmed jungle login scene. */
.simba-login-page { min-height: 100svh; margin: 0; background: #1a0a14; font-family: "Poppins", sans-serif; color: #fff8eb; }
.simba-login-shell { position: relative; isolation: isolate; width: min(100%, 520px); min-height: 100svh; margin: 0 auto; overflow: hidden; background: #210e18; }
.simba-scene { position: absolute; inset: 0; z-index: -2; background: url("../images/simba-jungle-login-reference.png") center top / cover no-repeat; }
.simba-scene::after { content: ""; position: absolute; inset: 26% 0 0; background: linear-gradient(180deg, rgba(34, 9, 18, 0) 0%, rgba(26, 6, 16, .48) 13%, rgba(21, 5, 14, .88) 32%, #190713 100%); }
.simba-login-card { position: relative; z-index: 1; width: calc(100% - 38px); margin: clamp(270px, 33svh, 418px) auto 78px; padding: 30px 24px 26px; box-sizing: border-box; border: 2px solid #ffaf16; border-radius: 31px; background: linear-gradient(135deg, rgba(61, 20, 29, .96), rgba(25, 6, 19, .97)); box-shadow: 0 0 0 3px rgba(255, 202, 54, .21), 0 0 26px rgba(255, 148, 5, .82), inset 0 0 55px rgba(215, 92, 10, .18); }
.card-crown { display: none; }
.title-rule { display: flex; align-items: center; justify-content: center; gap: 11px; color: #ffce18; font-size: 21px; line-height: 1; }
.title-rule span { width: 77px; height: 2px; background: linear-gradient(90deg, transparent, #ffd43a); box-shadow: 0 0 7px #e9a400; }.title-rule span:last-child { background: linear-gradient(90deg, #ffd43a, transparent); }
.simba-login-card h1 { margin: 10px 0 0; color: #ffc821; font-family: "Fredoka", "Poppins", sans-serif; font-size: clamp(34px, 9vw, 49px); line-height: 1; font-weight: 700; letter-spacing: -.035em; text-align: center; text-shadow: 0 3px 0 #954000, 0 7px 10px rgba(0,0,0,.65); }
.login-subtitle { margin: 8px 0 25px; color: #fff8f3; font-size: 17px; text-align: center; }
.simba-login-card .alert { margin: -10px 0 15px; padding: 10px; border: 1px solid #ffbf33; border-radius: 12px; background: rgba(142,39,23,.55); font-size: 12px; text-align: center; }
.simba-login-card .quick-account-select { width: 100%; margin: -9px 0 13px; padding: 11px 14px; border: 1px solid #ffb521; border-radius: 14px; color: #fff6e1; background: rgba(43,9,24,.82); font: inherit; font-size: 12px; }
.simba-login-card .quick-account-select[hidden] { display: none; }
.simba-field { min-height: 82px; display: flex; align-items: center; gap: 15px; margin: 0 0 15px; padding: 10px 17px; box-sizing: border-box; border: 1.5px solid #ffb61b; border-radius: 23px; background: linear-gradient(135deg, rgba(91, 35, 43, .91), rgba(47, 14, 32, .94)); box-shadow: inset 0 1px 10px rgba(255, 207, 65, .08), 0 4px 13px rgba(0,0,0,.2); cursor: text; }
.simba-field:focus-within { border-color: #ffe062; box-shadow: 0 0 0 3px rgba(255,183,29,.17), inset 0 1px 10px rgba(255,207,65,.12); }
.simba-field > i { width: 27px; color: #ffcf25; font-size: 29px; text-align: center; filter: drop-shadow(0 2px 1px #6e2600); }
.simba-field > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }.simba-field b { color: #fff8ef; font-size: 14px; font-weight: 500; }.simba-field input { width: 100%; padding: 0; border: 0; outline: 0; color: #fff; background: transparent; font: inherit; font-size: 16px; }.simba-field input::placeholder { color: #c6abb8; opacity: 1; }
.simba-login-card .password-toggle { width: 34px; padding: 8px 0; border: 0; color: #ffd126; background: transparent; font-size: 24px; cursor: pointer; }
.simba-login-card .login-options { display: flex; align-items: center; justify-content: space-between; margin: 4px 3px 21px; font-size: 13px; }.simba-login-card .remember-me { display: flex; align-items: center; gap: 9px; color: #fff9f2; cursor: pointer; }.simba-login-card .remember-me input { position: absolute; opacity: 0; }.simba-login-card .remember-me span { width: 22px; height: 22px; border-radius: 5px; background: #ffca1c; box-shadow: inset 0 -3px 0 #e89405; }.simba-login-card .remember-me input:checked + span::after { content: "✓"; display: block; color: #351300; font-size: 19px; font-weight: 800; line-height: 21px; text-align: center; }.simba-login-card .forgot-link { color: #ef70ff; font-weight: 600; text-decoration: none; text-shadow: 0 0 8px rgba(202,48,255,.65); }
.simba-login-card .login-btn { position: relative; width: 100%; min-height: 67px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff285; border-radius: 25px; color: #3a1000; background: linear-gradient(180deg, #fff16a, #ffb90b 52%, #ed8600); box-shadow: 0 0 0 4px #a64600, 0 0 20px #ff9d00, inset 0 3px 10px rgba(255,255,255,.85), inset 0 -7px 12px rgba(193,80,0,.2); font-family: "Fredoka", "Poppins", sans-serif; font-size: 34px; font-weight: 700; cursor: pointer; }.simba-login-card .login-btn i { position: absolute; right: 16px; width: 43px; height: 43px; border: 1px solid #fff4ad; border-radius: 50%; color: #fff; background: #ff9d08; font-size: 21px; line-height: 43px; text-shadow: 0 2px 1px #a23d00; }.simba-login-card .login-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }.simba-login-card .login-btn:active { transform: translateY(1px); }.simba-login-card .login-btn.btn-loading span, .simba-login-card .login-btn.btn-loading i { visibility: hidden; }.simba-login-card .login-btn.btn-loading::after { content: ""; position: absolute; width: 23px; height: 23px; border: 3px solid #662000; border-right-color: transparent; border-radius: 50%; animation: login-spin .7s linear infinite; }
.register-prompt { display: flex; align-items: center; gap: 12px; margin: 30px 18px 12px; color: #fff9f4; font-size: 13px; white-space: nowrap; }.register-prompt span { height: 2px; flex: 1; background: #b89aae; }.register-prompt p { margin: 0; }.register-btn { display: table; margin: 0 auto; padding: 7px 21px; border: 1.5px solid #e363ff; border-radius: 22px; color: #f4d2ff; background: linear-gradient(180deg, #7c1a8e, #3d0b53); box-shadow: 0 0 13px rgba(222,49,255,.5), inset 0 1px 0 rgba(255,255,255,.3); font-family: "Fredoka", "Poppins", sans-serif; font-size: 20px; text-decoration: none; }.register-btn:hover { filter: brightness(1.15); }
.simba-footer { position: absolute; z-index: 1; right: 0; bottom: 17px; left: 0; color: #ffcf2c; font-weight: 700; font-size: 15px; letter-spacing: .03em; text-align: center; text-shadow: 0 2px 4px #24010c; }.simba-footer i { margin-right: 6px; }
@media (min-width: 650px) { .simba-login-page { padding: 24px; box-sizing: border-box; }.simba-login-shell { min-height: calc(100svh - 48px); border-radius: 30px; box-shadow: 0 20px 55px rgba(0,0,0,.58); }.simba-login-card { margin-top: clamp(250px, 31svh, 390px); } }
@media (max-width: 390px) { .simba-login-card { width: calc(100% - 26px); padding: 27px 16px 22px; }.simba-login-card h1 { font-size: 35px; }.simba-field { padding-right: 12px; }.simba-login-card .login-btn { min-height: 61px; font-size: 30px; } }

/* The artwork is edge-to-edge on phones; the card keeps its own breathing room. */
@media (max-width: 649px) {
    .simba-login-page { display: block; width: 100%; min-width: 0; margin: 0; padding: 0 !important; overflow-x: hidden; }
    .simba-login-page::before { display: none; }
    .simba-login-shell { width: 100vw; max-width: none; min-height: 100svh; margin: 0; border-radius: 0; }
}

/* Signup uses the same scene and card treatment, with room for its extra fields. */
.simba-signup-card { margin-bottom: 18px; }
.simba-signup-card .login-subtitle { margin-bottom: 20px; }
.simba-signup-card .signup-alert:empty { display: none; }
.simba-signup-card .signup-alert { margin: -8px 0 13px; padding: 10px; border: 1px solid #ffbf33; border-radius: 12px; background: rgba(142,39,23,.55); color: #fff8eb; font-size: 12px; text-align: center; }
.simba-signup-card .simba-field { min-height: 74px; margin-bottom: 12px; }
.simba-signup-card .simba-signup-btn { min-height: 62px; font-size: 28px; }
.simba-login-prompt { position: relative; z-index: 1; margin: 0 auto 70px; color: #fff8f1; font-size: 14px; text-align: center; text-shadow: 0 2px 5px #26000d; }.simba-login-prompt a { margin-left: 8px; padding: 5px 16px; border: 1px solid #e363ff; border-radius: 18px; color: #f6d5ff; background: linear-gradient(180deg, #7c1a8e, #3d0b53); box-shadow: 0 0 12px rgba(222,49,255,.46); font-family: "Fredoka", "Poppins", sans-serif; font-size: 16px; text-decoration: none; }
.simba-signup-page .simba-footer { position: relative; bottom: auto; margin: -51px 0 18px; }
@media (max-width: 390px) { .simba-signup-card { margin-top: 255px; }.simba-signup-card .simba-field { min-height: 70px; }.simba-signup-card .simba-signup-btn { min-height: 58px; font-size: 25px; } }
