:root { font-family: Poppins, Arial, sans-serif; color: #07153d; background: #eafff4; }
* { box-sizing: border-box; }
body.smart-trade-login { min-width: 320px; min-height: 100vh; min-height: 100svh; margin: 0; overflow-x: hidden; background: radial-gradient(circle at 50% 8%, #f7fffb 0, #eafff4 32%, #d9ffeb 73%, #ecfff7 100%); }
button, input, select { font: inherit; }
a { color: inherit; }
.login-shell { position: relative; width: min(100%, 620px); margin: 0 auto; padding: 20px clamp(18px, 5vw, 34px) 34px; isolation: isolate; }
.login-shell::before, .login-shell::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.login-shell::before { width: 330px; height: 330px; top: 65px; left: -190px; background: radial-gradient(circle, #abffcd 0, #bcffda77 40%, transparent 70%); }
.login-shell::after { width: 360px; height: 360px; top: 340px; right: -230px; background: radial-gradient(circle, #9bffcb 0, #c7ffdd77 42%, transparent 70%); }
.login-intro { text-align: center; }
.hero-art { position: relative; height: clamp(238px, 56vw, 340px); margin: 0 -24px; }
.market-art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-logo { position: absolute; top: 8%; left: 50%; display: block; width: min(73%, 405px); height: 90%; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 10px 18px #38d9763b); }
.login-intro h1 { margin: -1px 0 0; font-size: clamp(35px, 8vw, 55px); font-weight: 800; line-height: 1.12; letter-spacing: -.055em; color: #06113c; }
.login-intro p { margin: 5px 0 22px; color: #52618c; font-size: clamp(17px, 4vw, 24px); line-height: 1.35; font-weight: 500; }
.login-card { padding: clamp(23px, 5vw, 34px); border: 2px solid #05df80; border-radius: 26px; background: #ffffffed; box-shadow: 0 17px 32px #15c87325, 0 0 28px #30f6a439; }
.login-alert { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #f7c6a5; border-radius: 12px; background: #fff5ee; color: #7b310c; font-size: 13px; }
.signup-alert:empty { display: none; }
.quick-account-select { display: block; width: 100%; height: 46px; margin-bottom: 18px; padding: 0 13px; border: 1px solid #bce9d7; border-radius: 10px; color: #2d4660; background: #f5fffb; }
.quick-account-select[hidden] { display: none; }
.field-label { display: block; margin: 0 0 7px 2px; color: #07143d; font-size: clamp(15px, 3.2vw, 18px); font-weight: 700; }
.login-field { display: flex; align-items: center; gap: 14px; height: clamp(54px, 12vw, 66px); margin-bottom: 18px; padding: 0 16px; border: 1px solid #cceee4; border-radius: 13px; background: linear-gradient(120deg, #f3fdf9, #f8fcfa); box-shadow: inset 0 1px 3px #0a86570b; transition: border-color .2s, box-shadow .2s; }
.login-field:focus-within { border-color: #00cd72; box-shadow: 0 0 0 3px #0de88b25; }
.login-field > svg { width: 23px; height: 23px; flex: 0 0 23px; fill: none; stroke: #008b49; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.login-field input { min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; color: #07143d; background: transparent; font-size: clamp(14px, 3vw, 17px); }
.login-field input::placeholder { color: #64718f; opacity: 1; }
.password-toggle { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; margin-right: -8px; padding: 0; border: 0; border-radius: 9px; color: #536184; background: transparent; cursor: pointer; }
.password-toggle:hover, .password-toggle:focus-visible { color: #008b49; background: #e7f9ef; }
.password-toggle svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.password-toggle.is-visible svg { color: #008b49; }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -2px 0 23px; font-size: clamp(12px, 2.7vw, 15px); }
.remember-me { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; cursor: pointer; }
.remember-me input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.checkbox-mark { position: relative; display: inline-block; width: 21px; height: 21px; flex: 0 0 21px; border: 2px solid #159c57; border-radius: 6px; background: #fff; }
.remember-me input:checked + .checkbox-mark { border-color: #069449; background: linear-gradient(135deg, #05c66d, #008a3f); }
.remember-me input:checked + .checkbox-mark::after { content: ""; position: absolute; top: 2px; left: 5px; width: 6px; height: 10px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.remember-me input:focus-visible + .checkbox-mark { outline: 3px solid #71eeb1; outline-offset: 2px; }
.forgot-link { color: #008d40; text-decoration: underline; text-decoration-color: #3dce7b; text-underline-offset: 5px; white-space: nowrap; }
.login-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: clamp(58px, 12vw, 72px); padding: 10px 22px; border: 3px solid #00d466; border-radius: 17px; color: #fff; background: linear-gradient(110deg, #00df86, #00bd5a 55%, #008d35); box-shadow: 0 12px 25px #00cd6754, inset 0 2px 2px #ffffff7a; cursor: pointer; font-size: clamp(20px, 4.7vw, 27px); font-weight: 700; transition: transform .2s, filter .2s; }
.login-btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.login-btn:active { transform: translateY(0); }
.login-btn:disabled { cursor: not-allowed; opacity: .65; transform: none; }
.login-btn svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.login-btn.btn-loading svg, .login-btn.btn-loading span { visibility: hidden; }
.login-btn.btn-loading::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid #fff; border-right-color: transparent; border-radius: 50%; animation: login-spin .7s linear infinite; }
@keyframes login-spin { to { transform: rotate(360deg); } }
.create-account { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 22px; color: #536187; font-size: clamp(13px, 3vw, 16px); text-align: center; }
.create-account span::before, .create-account span::after { content: ""; display: inline-block; width: clamp(30px, 10vw, 96px); height: 1px; margin: 0 12px 4px; background: #c8d9e8; }
.create-account a { color: #008e40; font-size: clamp(15px, 3.5vw, 19px); font-weight: 600; text-decoration: underline; text-decoration-color: #33d980; text-underline-offset: 6px; }
.trust-badges { display: flex; gap: 10px; margin: 21px 12px 0; }
.trust-badge { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: clamp(41px, 8vw, 52px); flex: 1; border-radius: 100px; font-size: clamp(10px, 2.7vw, 15px); font-weight: 700; box-shadow: 0 10px 20px #13b7602c; }
.trust-badge svg { width: clamp(16px, 4vw, 23px); height: clamp(16px, 4vw, 23px); flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.trust-badge.fast { color: #fff; background: linear-gradient(115deg, #00e78d, #00bb50); }
.trust-badge.fast svg { fill: #fff; stroke: #fff; }
.trust-badge.secure { color: #07143d; background: linear-gradient(115deg, #fff238, #ffd000); box-shadow: 0 10px 20px #edca2842; }
.trust-badge.reliable { color: #fff; background: linear-gradient(115deg, #ff5b58, #dc0c13); box-shadow: 0 10px 20px #e5233340; }
@media (max-width: 420px) { .login-shell { padding-top: 9px; } .hero-art { margin: 0 -18px; } .create-account span::before, .create-account span::after { width: 28px; margin-inline: 7px; } .trust-badges { margin-inline: 0; gap: 6px; } .trust-badge { gap: 4px; } }
@media (min-width: 800px) { .login-shell { padding-top: 30px; padding-bottom: 50px; } .hero-art { height: 360px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
