/* Auth Pages (Login/Register) – clean SaaS-like UI */
:root {
  --auth-bg: #F8FAFC;
  --auth-card-bg: #FFFFFF;
  --auth-text: #0F172A;
  --auth-muted: #64748B;
  --auth-border: #E2E8F0;
  --auth-brand: #FF6B35;
  --auth-brand-hover: #E55A2B;
  --auth-radius: 14px;
}

body.auth-body {
  background: var(--auth-bg) !important;
  color: var(--auth-text);
}

/* Reduce header visual weight on auth pages */
body.auth-body .modern-header-top {
  display: none !important;
}
body.auth-body .modern-logo {
  padding: 10px 0 !important;
}
body.auth-body .modern-logo img {
  max-height: 44px !important;
  filter: none !important;
}

.auth-wrapper {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  padding: 32px 16px 48px;
}

@media (max-width: 768px) {
  .auth-wrapper {
    min-height: calc(100vh - 72px);
    padding: 20px 12px 32px;
  }
}

.auth-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--auth-card-bg);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.auth-card-body {
  padding: 28px;
}
@media (max-width: 768px) {
  .auth-card-body { padding: 20px; }
}

.auth-title {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.auth-subtitle {
  margin: 0;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-form .form-label {
  font-weight: 600;
  color: #111827;
  font-size: 13px;
  margin-bottom: 6px;
}

.auth-form .form-control {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--auth-border);
  padding: 10px 12px;
  font-size: 14px;
}

.auth-form .form-control:focus {
  border-color: rgba(255,107,53,0.65);
  box-shadow: 0 0 0 4px rgba(255,107,53,0.12);
}

.auth-form .invalid-feedback {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.auth-form .form-text {
  color: var(--auth-muted);
  font-size: 12px;
  margin-top: 6px;
}

.auth-btn {
  height: 46px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  background: var(--auth-brand) !important;
  border-color: var(--auth-brand) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.auth-btn:hover {
  background: var(--auth-brand-hover) !important;
  border-color: var(--auth-brand-hover) !important;
}
.auth-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.auth-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.45);
  border-top-color: rgba(255,255,255,1);
  border-radius: 50%;
  animation: authspin 0.8s linear infinite;
}
@keyframes authspin { to { transform: rotate(360deg); } }

.auth-footer-link {
  color: var(--auth-brand);
  font-weight: 700;
  text-decoration: none;
}
.auth-footer-link:hover { text-decoration: underline; }

