/* Login page styles */
:root {
  --brand: #167BD5;
  --brand-600: #136bbb;
  --brand-700: #105fa7;
  --text: #1d2433;
  --muted: #667085;
  --border: #e6e8f0;
  --bg: #f7f9fc;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: center;
  padding: 48px;
}

.auth__hero {
  position: relative;
  height: min(72vh, 740px);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at -10% -10%, rgba(22,123,213,0.35), transparent 55%),
    radial-gradient(700px 400px at 110% 110%, rgba(108,99,255,0.35), transparent 60%),
    linear-gradient(180deg, #2c2c2c 0%, #0f0f12 100%);
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.15);
  color: #fff;
  display: flex;
}

.hero__content {
  margin: auto 48px 48px 48px;
  max-width: 640px;
}

.hero__title {
  margin: 0 0 12px 0;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
}

.hero__accent {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 26px;
  height: 86px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--brand) 0%, #8f6fff 100%);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.1), 0 10px 20px rgba(0,0,0,0.25);
}

.auth__panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.brand__logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(22, 123, 213, 0.1);
}

.brand__name { font-weight: 700; letter-spacing: 0.2px; }
.brand__badge {
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, #8f6fff 100%);
}

.panel__title {
  text-align: center;
  margin: 8px 0 18px 0;
  font-size: 20px;
}

.actions { display: grid; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 28px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform .03s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  will-change: transform;
}

.btn:active { transform: translateY(1px); }
.btn__icon { display: inline-flex; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 123, 213, 0.35);
}
.btn--primary:hover { background: var(--brand-600); }
.btn--primary:focus-visible { outline: 3px solid rgba(22,123,213,.35); outline-offset: 2px; }

.btn--outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.btn--outline:hover { background: rgba(22,123,213,0.06); }
.btn--outline:focus-visible { outline: 3px solid rgba(22,123,213,.25); outline-offset: 2px; }

.panel__legal {
  margin: 16px 8px 4px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.panel__legal a { color: var(--brand); text-decoration: none; }
.panel__legal a:hover { text-decoration: underline; }

.panel__version {
  text-align: center;
  color: #98a2b3;
  font-size: 12px;
  margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .auth { grid-template-columns: 1fr 420px; gap: 40px; }
}
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; padding: 24px; }
  .auth__hero { display: none; }
  .auth__panel { margin: 24px auto; max-width: 460px; width: 100%; }
}

