@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  color-scheme: dark;
  color: #f5f7fa;
  background: #10131e;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
  --pink: #ff006e;
  --deep: #ff76ad;
  --ink: #f5f7fa;
  --muted: #b9c3d5;
  --line: #3b4360;
  --volar-panel: #1c2237;
  --volar-field: #303c5d;
}

h1, h2, h3, h4, .stat strong { font-family: var(--display); }
.core-brand { display: flex; align-items: center; gap: .65rem; font: 700 1.12rem var(--display); letter-spacing: .1em; white-space: nowrap; }
.core-brand b { color: var(--deep); }
.core-brand img { flex: none; }
.sidebar { background: #151a2c; }
.sidebar nav button:hover, .sidebar nav button.active { background: #39213d; color: #ffc0da; }
.shell > header, .date, .filters, .stat, .panel, .deal, .lesson, dialog { background: var(--volar-panel); }
.column, th, .track { background: #252d47; }
input, textarea, select, .workspace select { background: var(--volar-field); border-color: #657497; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #c3cee2; opacity: 1; }
:where(button,a,input,textarea,select):focus-visible { outline: 2px solid #ff77ae; outline-offset: 3px; }
.primary, .primary:hover { background: #d1005a; border-color: #e60063; color: white; }
.primary:hover { background: #bb004f; }

.login-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  background: radial-gradient(ellipse at 18% 20%, #2a2443 0%, transparent 55%), #10131e;
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  width: min(100%, 65rem);
  min-height: 33rem;
  border: 1px solid #495371;
  border-radius: 1.65rem;
  overflow: hidden;
  box-shadow: 0 1.6rem 5rem #080a15a6;
}
.login-brand, .login-access { padding: clamp(1.75rem, 5vw, 4.25rem); }
.login-brand {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3.25rem;
  background: linear-gradient(150deg, #202845, #392242);
}
.login-brand > :not(.login-orbit) { position: relative; z-index: 1; }
.login-intro h1 { font-size: clamp(2.2rem, 4.7vw, 4rem); letter-spacing: -.055em; line-height: 1; margin: 0; }
.login-intro h1 em { color: #ff91bc; font-style: normal; }
.login-intro p { max-width: 29ch; margin: 1.15rem 0 0; color: #d5dcef; font-size: 1rem; line-height: 1.65; }
.login-orbit { position: absolute; width: min(78%, 23rem); height: auto; top: -11%; right: -23%; opacity: .28; pointer-events: none; }
.login-access { display: grid; align-items: center; background: #1c243b; }
.volar-login h2 { color: #f5f7fa; font-size: clamp(1.65rem, 3vw, 2.25rem); margin: 0; letter-spacing: -.04em; }
.volar-login > p { margin: .55rem 0 1.8rem; color: var(--muted); line-height: 1.55; }
.volar-login label { display: block; margin: 1rem 0 .45rem; color: #eff3ff; font-weight: 600; }
.volar-login input { width: 100%; min-height: 3rem; padding: .7rem .85rem; border-radius: .7rem; }
.volar-login .primary { width: 100%; min-height: 3rem; margin-top: 1.35rem; border-radius: .7rem; }
#login-error { color: #ffb1cd; margin: .75rem 0 0; }
#login-error:empty { display: none; }

.wa-inbox { background: #171d30; }
.wa-sidebar { background: #202842; }
.wa-sidebar-header, #wa-title { background: #28314c; }
.wa-thread { border-bottom-color: #3b4462; }
.wa-thread:hover, .wa-thread[aria-pressed="true"] { background: #3b2b4c; }
.wa-thread[aria-pressed="true"] { box-shadow: inset 3px 0 #ff76ad; }
.wa-avatar { background: #543653; color: #ffddeb; }
.wa-sidebar-header small, .wa-title-copy small, .wa-thread small, .wa-thread time { color: var(--muted); }

@media (max-width: 735px) {
  .login-layout { grid-template-columns: 1fr; min-height: auto; border-radius: 1.2rem; }
  .login-brand { gap: 1.65rem; }
  .login-orbit { width: 13rem; right: -3rem; top: -2.5rem; }
}

.login-link { margin-top: .85rem; padding: .35rem 0; border: 0; background: transparent; color: #ffadd1; text-align: left; }
.login-link:hover { text-decoration: underline; }
#login-notice, #recovery-status { margin: .9rem 0 0; color: #d7e3ff; }
