* { box-sizing: border-box; }
.login-success { padding: 12px 14px; margin-bottom: 20px; border: 1px solid var(--royal-border); border-radius: 10px; background: var(--royal-soft); color: var(--royal-dark); font-size: 12px; }
body { margin: 0; color: var(--royal-ink); font-family: 'Poppins', sans-serif; background: #fbf9fd; }
button, input { font: inherit; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #b89ad5; outline-offset: 5px; }
.login-shell { display: grid; grid-template-columns: 55% 45%; min-height: 100vh; min-height: 100svh; }
.brand-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 40px clamp(32px, 5.2vw, 100px) 28px; color: #fff; background: radial-gradient(ellipse at 85% 65%, #8552b568, transparent 55%), radial-gradient(ellipse at 5% 0%, #996bc044, transparent 45%), linear-gradient(145deg, #27133f 0%, #48216f 55%, #663399 100%); }
.brand-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .14; background-image: linear-gradient(#ffffff24 1px, transparent 1px), linear-gradient(90deg, #ffffff24 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(135deg, transparent, #000); }
.brand-panel::after { content: ''; position: absolute; width: 650px; height: 650px; border: 1px solid #ffffff12; border-radius: 50%; right: -360px; top: -300px; box-shadow: 0 0 0 70px #ffffff03, 0 0 0 140px #ffffff03, 0 0 0 210px #ffffff03; z-index: -1; }
.brand { display: inline-flex; align-items: center; align-self: flex-start; gap: 12px; text-decoration: none; font-size: 25px; font-weight: 600; letter-spacing: -.9px; }
.brand, .brand:hover { color: #fff; }
.brand-symbol { display: grid; place-items: center; width: 42px; height: 44px; background: #ffffff14; border: 1px solid #ffffff35; border-radius: 12px; }
.brand-symbol svg { width: 28px; height: 28px; }
.brand-dot { color: #caa5ee; }
.brand-content { width: 100%; max-width: 650px; margin: auto 0; padding: 48px 0 32px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: 2.2px; font-weight: 500; color: #ddc9f0; }
.eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: #d1adee; box-shadow: 0 0 0 5px #d1adee12; }
h1 { font-size: clamp(38px, 4.1vw, 72px); line-height: 1.15; font-weight: 500; letter-spacing: -2.4px; margin: 25px 0 22px; }
h1 > span { color: #d1adee; }
.brand-description { color: #dbcee8; font-size: 13px; line-height: 1.9; margin: 0; }
.workspace-art { position: relative; max-width: 445px; margin: 38px 0 30px; padding: 8px 26px 20px 0; }
.art-orbit { position: absolute; width: 290px; height: 290px; border: 1px solid #ffffff16; border-radius: 50%; left: 60px; top: -37px; transform: rotate(-20deg) scaleX(1.35); z-index: -1; }
.ledger-preview { border: 1px solid #ffffff30; border-radius: 18px; padding: 21px 23px 16px; background: linear-gradient(130deg, #ffffff1c, #ffffff08); box-shadow: 0 20px 45px #16092622; transform: rotate(-3deg); backdrop-filter: blur(14px); }
.preview-top { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; }
.preview-icon { background: #ffffff14; border-radius: 9px; display: grid; place-items: center; width: 36px; height: 36px; color: #e1c7fb; }
.preview-top small { display: block; font-size: 9px; color: #d4c2e5; font-weight: 400; margin-top: 3px; }
.preview-dots { margin-left: auto; color: #d4c2e5; letter-spacing: 2px; }
.preview-chart { height: 89px; display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid #ffffff20; padding: 0 3px; margin: 20px 0 12px; background: repeating-linear-gradient(to top, transparent 0 28px, #ffffff09 28px 29px); }
.preview-chart i { flex: 1; height: 30%; border-radius: 4px 4px 0 0; background: linear-gradient(#d6b5f2, #9b6cc066); }
.preview-chart i:nth-child(2n) { height: 44%; }.preview-chart i:nth-child(3n) { height: 37%; }.preview-chart i:nth-child(4) { height: 55%; }.preview-chart i:nth-child(5) { height: 48%; }.preview-chart i:nth-child(6) { height: 63%; }.preview-chart i:nth-child(7) { height: 58%; }.preview-chart i:nth-child(8) { height: 72%; }.preview-chart i:nth-child(9) { height: 66%; }.preview-chart i:nth-child(10) { height: 82%; }.preview-chart i:nth-child(11) { height: 76%; }.preview-chart i:nth-child(12) { height: 96%; background: #e3cafa; }
.preview-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #e1d3ed; font-size: 9px; }
.preview-bottom i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #d8b3f8; margin-right: 5px; }
.preview-bottom svg { width: 18px; height: 18px; }
.floating-note { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; background: #faf5ff; color: #48216f; border-radius: 12px; padding: 13px 17px; box-shadow: 0 12px 30px #210b3c33; transform: rotate(3deg); font-size: 11px; font-weight: 600; }
.floating-note > span { width: 29px; height: 29px; border-radius: 50%; background: #e9ddf3; display: grid; place-items: center; font-size: 15px; }
.floating-note small { display: block; font-size: 9px; font-weight: 400; color: #78658a; margin-top: 3px; }
.feature-list { display: flex; align-items: center; gap: 17px; color: #e0ceed; font-size: 11px; margin-top: 36px; }
.feature-list i { width: 3px; height: 3px; background: #c7a4e5; border-radius: 50%; }
.brand-footer { font-size: 10px; color: #c4acd8; letter-spacing: .3px; }
.form-panel { position: relative; display: flex; flex-direction: column; padding: 43px clamp(28px, 4vw, 76px) 28px; background: radial-gradient(ellipse at 100% 100%, #efe3f780, transparent 50%), #fdfcfe; }
.signup-top { font-size: 11px; text-align: right; color: #70627e; }
.signup-top a { display: inline-block; margin-left: 7px; text-decoration: none; font-weight: 600; color: var(--royal); }
.signup-top a:hover { text-decoration: underline; }
.signup-top a span { margin-left: 4px; font-size: 15px; }
.login-content { width: 100%; max-width: 390px; margin: auto; padding: 55px 0; }
.welcome-icon { display: grid; place-items: center; width: 54px; height: 54px; background: #f0e8f7; border: 1px solid #e4d6ee; border-radius: 16px; color: var(--royal); margin-bottom: 28px; }
.form-eyebrow { font-size: 9px; font-weight: 600; letter-spacing: 2px; color: #857390; margin-bottom: 11px; }
h2 { margin: 0; font-size: clamp(30px, 2.8vw, 44px); font-weight: 600; letter-spacing: -1.6px; line-height: 1.25; }
h2 > span { color: var(--royal); }
.form-description { margin: 15px 0 31px; color: #81748c; font-size: 12px; line-height: 1.9; }
.form-group { margin-bottom: 21px; }
.form-group label { display: block; font-size: 11px; font-weight: 500; margin-bottom: 9px; }
.input-wrap { position: relative; }
.input-wrap > svg { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); width: 19px; height: 19px; color: #9c8caa; pointer-events: none; }
.input-wrap input { width: 100%; min-height: 55px; border: 1px solid #e5ddea; border-radius: 10px; padding: 15px 16px 15px 46px; background: #fff; color: var(--royal-ink); font-size: 12px; outline: none; transition: border-color .2s, box-shadow .2s; }
.input-wrap input::placeholder { color: #9b8ea6; opacity: 1; }
.input-wrap input:focus { border-color: var(--royal); box-shadow: 0 0 0 4px #66339912; }
.password-wrap input { padding-right: 52px; }
.password-toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); background: none; border: 0; width: 44px; height: 44px; color: #9c8caa; cursor: pointer; border-radius: 8px; }
.password-toggle svg { width: 19px; height: 19px; vertical-align: middle; }
.password-toggle:hover, .password-toggle[aria-pressed='true'] { color: var(--royal); background: #f5effa; }
.login-button { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; min-height: 55px; margin-top: 29px; padding: 14px 20px; border: 1px solid #60308f; border-radius: 10px; background: linear-gradient(110deg, #663399, #7944a8); color: #fff; font-size: 12px; font-weight: 500; cursor: pointer; box-shadow: 0 8px 18px #66339925; transition: transform .2s, box-shadow .2s; }
.login-button span { font-size: 20px; line-height: 1; }
.login-button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px #66339938; }
.login-button:active { transform: translateY(0); }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 34px 0 0; color: #8c7c97; font-size: 9px; white-space: nowrap; }
.form-divider::before, .form-divider::after { content: ''; height: 1px; flex: 1; background: #e9e1ef; }
.login-note { text-align: center; font-size: 10px; color: #8c7c97; margin: 15px 0 0; }
.form-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 9px; color: #93859e; }
.login-alert { background: #fff0f0; color: #9f2525; border: 1px solid #f0cccc; border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; font-size: 12px; }
@media (min-width: 1800px) { .login-content { max-width: 460px; }.brand-content { max-width: 760px; }.brand-description, .form-description { font-size: 15px; }.workspace-art { max-width: 500px; }.preview-chart { height: 120px; }.input-wrap input, .login-button { min-height: 62px; font-size: 14px; } }
@media (max-width: 1050px) { .brand-panel { padding: 32px; }h1 { font-size: 43px; }.form-panel { padding: 35px 30px 25px; }.signup-top { font-size: 10px; }.brand-description { font-size: 12px; }.desktop-break { display: none; } }
@media (max-width: 760px) { .login-shell { grid-template-columns: 1fr; }.brand-panel { padding: 24px; }.brand { font-size: 23px; }.brand-content { padding: 33px 0 5px; max-width: none; }h1 { font-size: clamp(35px, 8vw, 52px); margin: 17px 0 14px; letter-spacing: -1.5px; }.brand-description { max-width: 420px; }.workspace-art, .brand-footer { display: none; }.feature-list { margin-top: 22px; margin-bottom: 4px; }.eyebrow { font-size: 8px; letter-spacing: 1.5px; }.form-panel { padding: 25px 24px; }.signup-top { text-align: center; }.login-content { padding: 36px 0 32px; max-width: 430px; }.welcome-icon { display: none; }h2 { font-size: 35px; }.form-description { margin-bottom: 25px; }.form-footer { max-width: 430px; width: 100%; margin: 0 auto; }.input-wrap input { font-size: 16px; }.form-divider { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
