@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{--ink:#20233a;--muted:#777b91;--line:#e9eaf2;--paper:#fff;--violet:#7466e8;--violet-dark:#5d50d0;--mint:#d9f5e8;--shadow:0 28px 80px rgba(39,35,91,.12)}
*{box-sizing:border-box}
html{min-height:100%;background:#f5f5fb}
body{margin:0;font-family:"DM Sans",system-ui,-apple-system,sans-serif;color:var(--ink);background:radial-gradient(ellipse at 12% 12%,#eceaff 0,transparent 38%),radial-gradient(ellipse at 90% 85%,#e4f7f1 0,transparent 34%),#f7f7fc;min-height:100vh;display:grid;place-items:center;padding:34px}
.page-shell{width:min(1080px,100%);min-height:650px;background:var(--paper);border:1px solid rgba(255,255,255,.9);border-radius:30px;box-shadow:var(--shadow);display:grid;grid-template-columns:1fr 1fr;overflow:hidden}
.login-card{padding:64px clamp(28px,5vw,66px);display:flex;flex-direction:column;justify-content:center}
.brand-mark,.small-brand{display:grid;place-items:center;background:linear-gradient(145deg,#8275f1,#5c4ed0);color:white;font-family:Manrope,sans-serif;font-weight:800;box-shadow:0 9px 20px #7466e83b}
.brand-mark{width:48px;height:48px;border-radius:16px;font-size:27px;margin-bottom:38px;transform:rotate(-4deg)}
.brand-mark span,.small-brand{transform:none}
.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--violet);margin:0 0 13px}
h1,h2{font-family:Manrope,sans-serif;letter-spacing:-1.2px}
.login-card h1{font-size:clamp(29px,3vw,39px);line-height:1.17;margin:0 0 14px;font-weight:800}
.intro{color:var(--muted);font-size:14px;line-height:1.75;margin:0 0 32px;max-width:340px}
form label{font-size:12px;font-weight:700;display:block;margin:0 0 9px}
input[type=email],input[type=password]{width:100%;height:50px;border:1px solid #e3e4ee;border-radius:12px;background:#fbfbfe;padding:0 15px;font:inherit;font-size:13px;color:var(--ink);outline:none;transition:border .2s,box-shadow .2s;margin-bottom:21px}
input:focus{border-color:#8a7df0;box-shadow:0 0 0 4px #8173ed1b}
input::placeholder{color:#a7a9b8}
.password-label{display:flex;align-items:center;justify-content:space-between}
.muted-link{font-size:11px;color:#8c8da0;text-decoration:none;margin-bottom:9px}
.muted-link:hover{color:var(--violet)}
.primary-button{width:100%;height:51px;border:0;border-radius:12px;background:linear-gradient(100deg,#7668e9,#6557d7);color:white;font:700 13px "DM Sans",sans-serif;cursor:pointer;box-shadow:0 9px 18px #6f61dc30;transition:transform .15s,box-shadow .15s;margin-top:3px}
.primary-button span{font-size:18px;margin-left:8px;vertical-align:-1px}
.primary-button:hover{transform:translateY(-1px);box-shadow:0 12px 23px #6f61dc45}
.primary-button:focus-visible,.logout-button:focus-visible{outline:3px solid #a9a0ff;outline-offset:3px}
.alert{background:#fff0f0;border:1px solid #ffd9d9;color:#a32f3d;border-radius:11px;padding:12px 14px;font-size:12px;line-height:1.5;margin:-10px 0 20px}
.security-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:27px;font-size:10px;color:#8c8ea1}
.lock-icon{font-size:19px;color:#5baf8d}
.footnote{font-size:10px;line-height:1.6;text-align:center;color:#a0a1b0;margin:27px 0 0}
.visual-panel{position:relative;overflow:hidden;background:linear-gradient(150deg,#dcd9ff 0%,#eeedff 48%,#d9f4e9 100%);padding:49px 43px;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}
.visual-panel:before{content:"";position:absolute;width:390px;height:390px;border:1px solid #ffffff80;border-radius:50%;right:-145px;top:-100px;z-index:-1}
.visual-panel:after{content:"";position:absolute;width:280px;height:280px;border:1px solid #ffffff80;border-radius:50%;left:-150px;bottom:20px;z-index:-1}
.orb{position:absolute;border-radius:50%;filter:blur(1px);z-index:-1}.orb-one{width:140px;height:140px;background:#ffffff45;top:150px;right:12px}.orb-two{width:90px;height:90px;background:#b7e8d766;left:0;bottom:120px}
.visual-content{position:relative;z-index:1}.mini-tag{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;background:#ffffff8c;border:1px solid #ffffffbd;border-radius:100px;font-size:8px;letter-spacing:1.2px;font-weight:700;color:#626384}
.status-dot,.online-dot{width:6px;height:6px;background:#50ba8a;border-radius:50%;display:inline-block}
.visual-content h2{font-size:clamp(29px,3vw,42px);line-height:1.2;margin:30px 0 12px;font-weight:800}
.visual-content>p{font-size:12px;line-height:1.7;color:#777994;max-width:260px}
.abstract-art{height:260px;position:relative;margin-top:5px;display:grid;place-items:center}
.art-ring{position:absolute;border:1px solid #ffffffa8;border-radius:50%;transform:rotate(-20deg)}
.ring-a{width:240px;height:160px}.ring-b{width:180px;height:235px;transform:rotate(35deg)}
.art-core{width:116px;height:116px;border-radius:38% 62% 58% 42% / 43% 42% 58% 57%;background:linear-gradient(140deg,#fff 4%,#c7c0ff 42%,#8d81ec 100%);box-shadow:inset -14px -15px 30px #7164d64d,0 20px 45px #7062d52e;transform:rotate(-18deg)}
.art-star{position:absolute;right:21%;top:29%;font-size:27px;color:#fff}
.panel-footer{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.5px;font-weight:700;color:#777a9a}
.dashboard-body{display:block;padding:0}
.dashboard-shell{max-width:1100px;margin:0 auto;padding:35px 32px 24px}
.dash-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px}
.brand-inline{display:flex;align-items:center;gap:10px;color:var(--ink);font-family:Manrope,sans-serif;font-size:18px;font-weight:800;text-decoration:none;letter-spacing:-.5px}
.small-brand{width:34px;height:34px;border-radius:11px;font-size:20px}
.logout-button{background:#fff;border:1px solid var(--line);border-radius:10px;padding:11px 15px;font:600 12px "DM Sans",sans-serif;color:var(--ink);cursor:pointer}
.logout-button span{margin-left:8px}
.welcome-panel{min-height:270px;border-radius:25px;padding:38px 42px;background:linear-gradient(110deg,#e8e5ff,#f0efff 55%,#dff6ec);display:flex;position:relative;overflow:hidden;align-items:center}
.welcome-copy{max-width:530px;position:relative;z-index:1}
.welcome-copy h1{font-size:clamp(28px,4vw,43px);line-height:1.15;margin:0 0 13px}
.welcome-copy>p:not(.eyebrow){font-size:13px;line-height:1.8;color:#777b93;max-width:480px}
.user-chip{display:inline-flex;align-items:center;gap:10px;margin-top:14px;padding:7px 12px 7px 7px;background:#ffffffb5;border:1px solid #ffffff;border-radius:100px;font-size:11px;font-weight:600}
.avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#7568e7;color:white;font-weight:700}
.welcome-illustration{position:absolute;right:8%;width:240px;height:230px;bottom:-18px}
.sun{position:absolute;width:100px;height:100px;border-radius:50%;background:#ffdfa1;right:30px;top:5px;box-shadow:0 0 0 18px #ffdfa12e}
.hill{position:absolute;bottom:0;border-radius:50% 50% 0 0}
.hill-back{width:260px;height:120px;background:#b6e6d4;right:-60px;bottom:0;transform:rotate(-9deg)}
.hill-front{width:240px;height:100px;background:#8ed4b9;right:-10px;bottom:-15px;transform:rotate(12deg)}
.tiny-star{position:absolute;right:155px;top:48px;font-size:23px;color:#fff}
.dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:22px}
.info-card{background:#fff;border:1px solid #eeedf6;border-radius:18px;padding:23px 22px;box-shadow:0 8px 25px #27235b08}
.card-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;font-size:23px;margin-bottom:22px}
.violet{background:#eeebff;color:#7567e7}.mint{background:#e2f8ee;color:#3b9d76}.amber{background:#fff2d9;color:#c58b2b}
.card-label{font-size:9px;letter-spacing:1.5px;color:#9798ac;font-weight:700;margin:0 0 8px}
.info-card h2{font-size:18px;letter-spacing:-.4px;margin:0 0 8px}
.info-card>p:last-child{font-size:11px;line-height:1.7;color:#8b8da1;margin:0}
.dash-footer{text-align:center;font-size:9px;letter-spacing:1.6px;color:#a1a2b2;margin-top:34px}
.dash-footer span{color:#7466e8;margin:0 7px}
@media(max-width:760px){body{padding:15px}.page-shell{grid-template-columns:1fr;min-height:0;border-radius:22px}.login-card{padding:36px 27px 32px}.brand-mark{margin-bottom:27px}.visual-panel{display:none}.dashboard-shell{padding:20px 16px}.dash-header{margin-bottom:23px}.welcome-panel{padding:28px 24px;min-height:280px}.welcome-copy{max-width:100%}.welcome-illustration{opacity:.22;right:-70px}.dashboard-grid{grid-template-columns:1fr}.info-card{padding:20px}.welcome-copy h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
