:root {
  --auth-bg-1: #061723;
  --auth-bg-2: #0f3d5d;
  --auth-bg-3: #1f7a8c;
  --auth-accent: #22c55e;
  --auth-accent-2: #f5b942;
  --auth-surface: #ffffff;
  --auth-text: #152333;
  --auth-muted: #62788b;
  --auth-border: #d7e1ea;
  --auth-danger: #c53030;
  --auth-shadow: 0 30px 80px rgba(3, 15, 25, 0.32);
}

.auth-body {
  min-height: 100vh;
  margin: 0;
  font-family: "Raleway", "Segoe UI", sans-serif;
  color: var(--auth-text);
  background:
    radial-gradient(900px 550px at 115% -10%, rgba(245, 185, 66, 0.18), transparent 60%),
    radial-gradient(1000px 700px at -10% 110%, rgba(34, 197, 94, 0.17), transparent 62%),
    radial-gradient(760px 420px at 55% 15%, rgba(96, 165, 250, 0.12), transparent 65%),
    linear-gradient(135deg, var(--auth-bg-1) 0%, var(--auth-bg-2) 52%, var(--auth-bg-3) 100%);
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--auth-surface);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  box-shadow: var(--auth-shadow);
  overflow: hidden;
}

.auth-card-login {
  backdrop-filter: blur(14px);
}

.auth-login-layout {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 460px);
  gap: 28px;
  align-items: stretch;
}

.auth-showcase {
  position: relative;
  padding: 38px 34px;
  border-radius: 32px;
  color: #eff9ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(3, 15, 25, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.auth-showcase::before,
.auth-showcase::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
}

.auth-showcase::before {
  width: 220px;
  height: 220px;
  top: -60px;
  right: -40px;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.42) 0%, rgba(245, 185, 66, 0) 72%);
}

.auth-showcase::after {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: -40px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.28) 0%, rgba(34, 197, 94, 0) 72%);
}

.auth-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-showcase-title {
  position: relative;
  margin: 0;
  max-width: 640px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 800;
}

.auth-showcase-text {
  position: relative;
  max-width: 520px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(239, 249, 255, 0.82);
}

.auth-showcase-points {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.auth-showcase-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f5fbff;
  font-size: 15px;
  font-weight: 600;
}

.auth-showcase-point-mark {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--auth-accent-2), var(--auth-accent));
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06);
}

.auth-head {
  padding: 28px 28px 18px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 34%),
    linear-gradient(135deg, #f9fcff 0%, #eef7fb 100%);
  border-bottom: 1px solid var(--auth-border);
}

.auth-kicker {
  margin-bottom: 10px;
  color: #25745c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
}

.auth-subtitle {
  margin: 8px 0 0;
  color: var(--auth-muted);
  font-size: 15px;
  line-height: 1.55;
}

.auth-form {
  padding: 24px 28px 28px;
}

.auth-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #395064;
}

.auth-field {
  border-radius: 14px;
  border: 1px solid var(--auth-border);
  padding: 12px 14px;
  background: #fbfdff;
}

.auth-field-lg {
  min-height: 52px;
  font-size: 15px;
}

.auth-field:focus {
  border-color: #4ea5d6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(78, 165, 214, 0.16);
}

.auth-error {
  color: var(--auth-danger);
  font-size: 12px;
  margin-top: 6px;
}

.auth-alert {
  border-radius: 14px;
  border: 1px solid #ffd2d2;
  background: #fff4f4;
  color: #8c2f2f;
  font-size: 13px;
  padding: 12px 14px;
}

.auth-alert-info {
  border-color: #c9e6f8;
  background: #f2fbff;
  color: #1d5574;
}

.auth-note {
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid #dbe8f1;
  background: #f8fbfd;
  color: #4f6779;
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 14px;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3f5264;
  font-size: 14px;
}

.auth-check input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-actions-stack {
  flex-direction: column;
}

.auth-btn-primary {
  border-radius: 14px;
  border: 1px solid #1ea871;
  background: linear-gradient(180deg, #23c989 0%, #138e63 100%);
  color: #fff;
  font-weight: 700;
  padding: 13px 18px;
  box-shadow: 0 16px 30px rgba(30, 168, 113, 0.22);
}

.auth-btn-primary:hover {
  color: #fff;
  filter: brightness(1.03);
}

.auth-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid #b5c4d2;
  background: #fff;
  color: #2d4558;
  font-weight: 700;
  padding: 13px 18px;
  text-decoration: none;
}

.auth-btn-secondary:hover {
  color: #1a3348;
  background: #f7fbff;
}

.auth-btn-block {
  width: 100%;
}

@media (max-width: 980px) {
  .auth-login-layout {
    max-width: 460px;
    grid-template-columns: 1fr;
  }

  .auth-showcase {
    min-height: auto;
    padding: 28px 24px;
  }

  .auth-showcase-title {
    font-size: clamp(28px, 8vw, 40px);
  }
}

@media (max-width: 575px) {
  .auth-shell {
    padding: 18px 12px;
  }

  .auth-card,
  .auth-showcase {
    border-radius: 24px;
  }

  .auth-head,
  .auth-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .auth-showcase {
    padding: 24px 20px;
  }
}
