/* Authentication Styles - Skip if login page */
body:has(.auth-container) header {
  display: none;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3a5f 0%, #4a90e2 50%, #6bb6d6 100%);
  position: relative;
}

.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(107, 182, 214, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(30, 58, 95, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.auth-box {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.auth-logo img {
  height: 60px;
  width: auto;
}

.auth-box h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: #1e3a5f;
  font-size: 1.75rem;
  font-weight: 600;
}

.auth-tagline {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.auth-box .form-group {
  margin-bottom: 1.5rem;
}

.auth-box .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-weight: 500;
}

.auth-box .form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.auth-box .form-control:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.auth-box .form-check {
  margin-bottom: 1.5rem;
}

.auth-box .form-check-input {
  margin-right: 0.5rem;
}

.auth-box .btn-block {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.auth-box .btn-primary {
  background: #4a90e2;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.auth-box .btn-primary:hover {
  background: #3a7bc8;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.auth-links {
  margin-top: 1.5rem;
  text-align: center;
}

.auth-links a {
  color: #4a90e2;
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 0.9rem;
}

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

/* Auth Error Messages */
.auth-errors {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 20px;
}

.auth-errors ul {
  margin: 0;
  padding-left: 20px;
  color: #dc2626;
  font-size: 14px;
}

.auth-errors li {
  margin: 4px 0;
}

