/* Auth / Login Page
--------------------------------*/
.login-page .auth-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px; /* space for fixed header */
  padding-bottom: 80px;
}

.login-page .auth-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.login-page .auth-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.login-page .auth-background .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(88, 101, 242, 0.55), transparent 50%),
              linear-gradient(135deg, rgba(15, 23, 42, 0.90), rgba(15, 23, 42, 0.95));
}

.login-page .auth-section .container {
  position: relative;
  z-index: 2;
}

.auth-card {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.9);
  padding: 2.5rem 2.25rem;
  backdrop-filter: blur(14px);
  color: #e5e7eb;
}

@media (max-width: 575.98px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 118, 243, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #e0f2fe;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-badge i {
  font-size: 1rem;
}

.auth-title {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-size: 1.65rem;
  font-weight: 600;
  color: #f9fafb;
}

.auth-subtitle {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95rem;
}

.auth-form .form-label {
  font-weight: 500;
  color: #e5e7eb;
}

.auth-form .form-control,
.auth-form .form-select {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.95);
}

.auth-form .input-group-text {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.6);
  color: #9ca3af;
}

.auth-helper-text {
  font-size: 0.8rem;
  color: #6b7280;
}

.btn-auth {
  border-radius: 999px;
  border: none;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #f9fafb;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-auth:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.5);
  opacity: 0.95;
  color: #f9fafb;
}

.btn-auth i {
  font-size: 1rem;
}

.btn-auth-outline {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 1rem;
  background: transparent;
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-auth-outline i {
  font-size: 1.05rem;
}

.btn-auth-outline:hover {
  background: rgba(15, 118, 243, 0.12);
  border-color: #38bdf8;
  transform: translateY(-1px);
  color: #e5e7eb;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #6b7280;
  font-size: 0.8rem;
  margin: 1.5rem 0 1rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.5);
}

.auth-divider span {
  padding: 0 0.75rem;
}

.auth-footer-text {
  font-size: 0.9rem;
  color: #9ca3af;
}

.link-sm {
  font-size: 0.85rem;
  color: #38bdf8;
}

.link-sm:hover {
  color: #0ea5e9;
}
