:root {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
}

body.auth-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2ff, #f7f8ff);
  padding: 32px;
}

.auth-wrapper {
  width: min(960px, 100%);
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 60px 120px rgba(15, 23, 42, 0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.auth-hero {
  background: linear-gradient(135deg, #4b6bfb, #7c3aed);
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.auth-hero__logo {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.auth-hero h1 {
  margin: 0;
  font-size: 2.3rem;
  font-weight: 600;
}

.auth-hero p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.auth-hero__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-hero__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.auth-hero img {
  width: 100%;
  max-width: 320px;
  margin-top: 24px;
  opacity: 0.9;
}

.auth-panel {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-panel__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4b6bfb;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.auth-panel__brand i {
  font-size: 1.1rem;
}

.auth-card__header {
  text-align: left;
}

.auth-card__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: #111827;
}

.auth-card__subtitle {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 1rem;
}

.auth-alert {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.9rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-form label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
}

.auth-input {
  width: 91%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #d9e2ec;
  background: #f8fafc;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #4b6bfb;
  box-shadow: 0 0 0 3px rgba(75, 107, 251, 0.15);
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #4b5563;
}

.auth-show-password {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: -6px;
}

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

.auth-social button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  padding: 10px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.auth-social button:hover {
  border-color: #4b6bfb;
  color: #1d4ed8;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-submit {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #4b6bfb, #7c3aed);
  color: #fff;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-submit:hover {
  box-shadow: 0 20px 35px rgba(75, 107, 251, 0.35);
  transform: translateY(-1px);
}

.auth-footer {
  text-align: left;
  font-size: 0.95rem;
  color: #4b5563;
}

.auth-footer a {
  color: #4b6bfb;
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
  }
  .auth-hero {
    display: none;
  }
}

@media (max-width: 520px) {
  body.auth-body {
    padding: 16px;
  }
  .auth-panel {
    padding: 32px 24px;
  }
}
