body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 36%),
    radial-gradient(circle at bottom right, rgba(30, 64, 175, 0.06), transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 55%);
  color: #0f172a;
}

a {
  color: #1d4ed8;
}

a:hover,
a:focus {
  color: #1e40af;
  text-decoration: none;
}

.auth-shell {
  min-height: 100vh;
  padding: 36px;
}

.auth-grid {
  display: flex;
  min-height: calc(100vh - 72px);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
}

.auth-showcase {
  position: relative;
  flex: 1 1 52%;
  padding: 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.45), transparent 32%),
    radial-gradient(circle at bottom right, rgba(30, 58, 138, 0.35), transparent 38%),
    linear-gradient(155deg, #0284c7 0%, #1d4ed8 48%, #1e3a8a 100%);
  color: #fff;
}

.auth-showcase:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.18)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 48%);
}

.auth-showcase-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.auth-showcase-shape {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.auth-showcase-shape-one {
  top: 54px;
  right: 44px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
}

.auth-showcase-shape-two {
  left: -60px;
  bottom: 90px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.26), rgba(37, 99, 235, 0.04));
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-brand {
  margin-bottom: 36px;
}

.auth-brand-showcase {
  margin-bottom: 28px;
}

.auth-showcase-name {
  margin: 0 0 6px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}

.auth-showcase-tagline {
  margin: 0;
  max-width: 22rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.auth-showcase h1 {
  margin: 18px 0 14px;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.08;
}

.auth-showcase p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.7;
}

.auth-feature-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.auth-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.auth-feature-list li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.auth-stat-grid {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.auth-stat-card {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.auth-stat-card-primary {
  background: rgba(255, 255, 255, 0.12);
}

.auth-stat-label {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-stat-card strong,
.auth-stat-card small {
  display: block;
}

.auth-stat-card strong {
  font-size: 22px;
  font-weight: 800;
}

.auth-stat-card small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.auth-showcase-panel {
  position: absolute;
  right: 38px;
  bottom: 38px;
  z-index: 1;
  width: 280px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(8, 15, 38, 0.3);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.2);
}

.auth-showcase-panel-header {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.auth-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.auth-showcase-panel-body {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-mini-chart {
  position: relative;
  height: 110px;
  margin-bottom: 16px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  overflow: hidden;
}

.auth-mini-chart:before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 18px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
  clip-path: polygon(0 85%, 14% 72%, 28% 78%, 42% 38%, 57% 46%, 72% 20%, 86% 30%, 100% 0, 100% 100%, 0 100%);
}

.auth-mini-chart:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 20px;
  height: 54px;
  border-bottom: 3px solid rgba(191, 219, 254, 0.95);
  clip-path: polygon(0 84%, 14% 70%, 28% 76%, 42% 36%, 57% 44%, 72% 18%, 86% 28%, 100% 0, 100% 100%, 0 100%);
}

.auth-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.auth-mini-metrics span,
.auth-mini-metrics strong {
  display: block;
}

.auth-mini-metrics span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.auth-mini-metrics strong {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 48%;
  padding: 48px;
  background: rgba(255, 255, 255, 0.92);
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 36px 40px 40px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 20px 40px -12px rgba(15, 23, 42, 0.1);
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #38bdf8, #2563eb 45%, #1e40af);
}

.auth-card-brand {
  text-align: center;
  margin-bottom: 28px;
}

.auth-card-brand .auth-card-logo {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.auth-card-top {
  margin-bottom: 28px;
}

.auth-card-top h2 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
}

.auth-card-top p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
}

.auth-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
}

.auth-alert button.close {
  opacity: 0.75;
}

.alert-success.auth-alert {
  color: #166534;
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.alert-danger.auth-alert {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.auth-form .form-group {
  margin-bottom: 18px;
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.auth-form .form-control {
  height: 50px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 12px 14px;
  color: #0f172a;
  box-shadow: none;
}

.auth-form .form-control::placeholder {
  color: #94a3b8;
}

.auth-form .form-control:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 22px;
}

.auth-link {
  font-size: 14px;
  font-weight: 600;
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.28);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit:hover,
.auth-submit:focus {
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 16px 32px rgba(30, 64, 175, 0.32);
}

.auth-footer {
  margin-top: 22px;
  color: #64748b;
  font-size: 15px;
}

.auth-footer strong {
  color: #0f172a;
}

.auth-info-card {
  padding: 20px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #eff6ff;
}

.auth-info-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.auth-info-card p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.auth-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  margin-top: 22px;
}

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

  .auth-grid {
    flex-direction: column;
    min-height: auto;
  }

  .auth-showcase,
  .auth-panel {
    flex: none;
  }

  .auth-showcase {
    min-height: 420px;
    padding: 34px 28px;
  }

  .auth-showcase-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 26px;
  }

  .auth-panel {
    padding: 30px 24px 36px;
  }

  .auth-card {
    padding: 28px 24px 32px;
  }

  .auth-showcase h1 {
    font-size: 36px;
  }
}

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

  .auth-grid {
    border-radius: 0;
  }

  .auth-showcase,
  .auth-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .auth-showcase h1,
  .auth-card-top h2 {
    font-size: 30px;
  }

  .auth-card {
    padding: 24px 18px 28px;
    border-radius: 16px;
  }

  .auth-card::before {
    border-radius: 16px 16px 0 0;
  }

  .auth-mini-metrics {
    grid-template-columns: 1fr;
  }

  .auth-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
