:root {
  --auth-bg: #f6f7fb;
  --auth-card-bg: #ffffff;
  --auth-border: #e5e7eb;
  --auth-text: #111827;
  --auth-muted: #6b7280;
  --auth-primary: #0d6efd;
}

.auth-wrapper {
  padding: 20px 0;
}

.auth-card {
  max-width: 540px;
  margin: 0 auto;
  background: var(--auth-card-bg);
  border: 1px solid var(--auth-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.auth-header {
  padding: 16px 18px;
  background: var(--auth-primary);
  color: #fff;
}

.auth-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.auth-subtitle {
  margin: 6px 0 0 0;
  opacity: 0.92;
  font-size: 14px;
}

.auth-body {
  background: var(--auth-card-bg);
  padding: 18px;
}

.auth-meta {
  margin-top: 14px;
  font-size: 14px;
}

.auth-meta a {
  text-decoration: none;
  font-weight: 700;
}

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

.auth-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.auth-icon {
  width: 44px;
  justify-content: center;
}

.auth-help {
  font-size: 13px;
  color: var(--auth-muted);
}

.auth-body .input-group-text {
  background: #f3f4f6;
  border-color: var(--auth-border);
  color: #374151;
}

.auth-body .form-control {
  border-color: var(--auth-border);
}

.auth-body .form-control:focus {
  border-color: rgba(13, 110, 253, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

@media (max-width: 576px) {
  .auth-wrapper {
    padding: 14px 0;
  }

  .auth-title {
    font-size: 20px;
  }

  .auth-body {
    padding: 16px;
  }
}
