/* Auth pages shared styles */
:root {
  --auth-bg: #0b1220;
  --auth-primary: #0d6efd;
  --auth-muted: #6c757d;
}

body.auth-page {
  background: radial-gradient(1200px 600px at 10% -10%, #0d6efd22, transparent 60%),
              radial-gradient(1200px 600px at 110% 10%, #6610f222, transparent 60%),
              #0b1220;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--auth-primary);
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
}

.auth-card {
  max-width: 540px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem;
  overflow: hidden;
}

.auth-card .card-header {
  background: linear-gradient(135deg, #0d6efd11, #6610f211);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.auth-title {
  margin: 0;
  font-weight: 700;
}

.form-floating>.form-control {
  border-radius: .65rem;
}

.form-floating>.form-control:focus {
  box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

.invalid-feedback {
  display: block;
}

.helper {
  color: var(--auth-muted);
  font-size: .9rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--auth-muted);
  margin: .75rem 0 1rem;
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(108,117,125,.35);
}

.btn-google {
  border-color: #dc3545;
  color: #dc3545;
}
.btn-google:hover {
  background: #dc3545;
  color: #fff;
}

.small-links a {
  text-decoration: none;
}

@media (prefers-color-scheme: light) {
  body.auth-page {
    background: #f6f8fb;
  }
  .auth-card {
    border-color: #e9ecef;
  }
  .auth-card .card-header {
    background: linear-gradient(135deg, #e7f1ff, #f3e9ff);
    border-bottom-color: #e9ecef;
  }
}

body {
  background: #FFFDE7;
  color: #212121;
}

.navbar {
  background: #FFFDE7 !important;
  border-bottom: 1px solid #FFCA28;
}
.navbar-brand, .navbar .nav-link, .navbar-text {
  color: #3E2723 !important;
}
.navbar .nav-link {
  color: #424242 !important;
  margin-right: 1rem;
  transition: color 0.2s, text-decoration 0.2s;
}
.navbar .nav-link:hover {
  color: #212121 !important;
  text-decoration: underline;
}
.navbar .btn-outline-secondary, .navbar .btn-cta {
  background: #B0BEC5;
  color: #212121;
  border: none;
  transition: background 0.2s;
}
.navbar .btn-outline-secondary:hover, .navbar .btn-cta:hover {
  background: #CFD8DC;
  color: #212121;
}

.banner {
  background: #FFCA28;
  color: #212121;
  padding: 2.5rem 1rem 2rem 1rem;
  text-align: center;
  border-radius: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(33,33,33,0.07);
}
.banner .icon {
  color: #3E2723;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.banner-title {
  font-size: 2rem;
  font-weight: bold;
  color: #212121;
}
.banner-subtitle {
  color: rgba(33,33,33,0.9);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.banner .btn-orange {
  background: #F57F17;
  color: #fff;
  border-radius: 2rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(33,33,33,0.08);
  transition: background 0.2s;
}
.banner .btn-orange:hover {
  background: #EF6C00;
}

.search-bar-section {
  background: #212121;
  padding: 1.5rem 1rem;
  border-radius: 1.2rem;
  margin-bottom: 2rem;
}
.search-bar-section .form-control, .search-bar-section .form-select {
  background: #F5F5F5;
  color: #212121;
  border: 1px solid #B0BEC5;
  border-radius: 0.7rem;
  font-size: 1rem;
}
.search-bar-section .form-control:focus, .search-bar-section .form-select:focus {
  border-color: #0288D1;
  box-shadow: 0 0 0 2px #0288D1;
}
.search-bar-section .form-control::placeholder {
  color: #757575;
  opacity: 1;
}
.search-bar-section .btn-primary {
  background: #0288D1;
  color: #fff;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  transition: background 0.2s;
}
.search-bar-section .btn-primary:hover {
  background: #01579B;
}
.search-bar-section .btn-light {
  background: #B0BEC5;
  color: #212121;
  border: none;
  border-radius: 2rem;
  font-weight: 500;
  transition: background 0.2s;
}
.search-bar-section .btn-light:hover {
  background: #CFD8DC;
}

@media (max-width: 768px) {
  .banner-title { font-size: 1.5rem; }
  .search-bar-section { padding: 1rem 0.5rem; }
}

.section-header {
  color: #424242;
  font-weight: bold;
  margin-bottom: 1.2rem;
}
