/* Auth pages styling - Non-Vite fallback for login, register, profile pages */
/* This file ensures auth pages render correctly even if Vite assets fail to load */

/* Main content area padding to avoid fixed header overlap */
.app-main {
  padding-top: 100px;
  padding-bottom: 40px;
  min-height: calc(100vh - 140px);
}

@media (max-width: 768px) {
  .app-main {
    padding-top: 80px;
    padding-bottom: 32px;
  }
}

.auth-layout {
  max-width: 28rem;
  margin: 24px auto 48px auto; /* Top margin reduced since .app-main handles header offset */
  padding: 0 16px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.auth-subtitle {
  color: #4b5563;
}

.auth-card,
.auth-info-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  padding: 32px;
  margin-bottom: 24px;
}

.auth-info-card {
  padding: 24px;
}

.auth-alert {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.auth-form-group {
  margin-bottom: 24px;
}

.auth-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.auth-label-required {
  color: #ef4444;
}

.auth-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  font-family: inherit;
}

.auth-input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.5);
}

.auth-input-error {
  border-color: #ef4444;
}

.auth-error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 4px;
}

.auth-checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.auth-checkbox {
  margin-right: 8px;
}

.auth-checkbox-label {
  font-size: 0.875rem;
  color: #374151;
}

.auth-button {
  width: 100%;
  background-color: #2563eb;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms;
}

.auth-button:hover {
  background-color: #1d4ed8;
}

.auth-divider {
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
  margin-top: 24px;
}

.auth-links {
  text-align: center;
}

.auth-link {
  display: block;
  color: #2563eb;
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.auth-link:hover {
  color: #1e40af;
}

.auth-info-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.auth-info-text {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
}

/* Register page specific styles */
.auth-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
  margin-top: 24px;
}

.auth-section-title:first-child {
  margin-top: 0;
}

.auth-select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fff;
}

.auth-select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.5);
}

.auth-terms {
  text-align: center;
  font-size: 0.875rem;
  color: #4b5563;
  margin-top: 16px;
}

.auth-terms a {
  color: #2563eb;
  text-decoration: none;
}

.auth-terms a:hover {
  color: #1e40af;
  text-decoration: underline;
}
