/* auth-shared.css — Shared styles for all HomeoBrain auth/info pages.
   Extracted from duplicated inline styles across login, signup, pricing,
   about, forgot-password, reset-password, privacy, terms, hipaa pages. */

:root {
  --green-dark: #1a2e0a; --green-mid: #2D5016; --green-light: #4A7C28;
  --green-bright: #6B9B37; --gold: #c9a84c;
  --parchment: #f8f5ef; --parchment-mid: #f0ebe2; --parchment-dark: #e8e2d6;
  --text: #2a2418; --border: #d8d0c4; --red: #8B2500;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: linear-gradient(170deg, var(--parchment) 0%, var(--parchment-mid) 40%, var(--parchment-dark) 100%);
  font-family: 'DM Sans', sans-serif; color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Auth card */
.auth-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 40px; width: 100%; max-width: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  animation: fadeUp 0.5s ease-out;
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo a { text-decoration: none; display: block; }
.auth-logo-icon {
  width: 144px; height: auto; margin: 0 auto 8px; display: block;
}
.auth-logo h1 {
  font-family: 'Cormorant Garamond', Garamond, serif;
  font-size: 28px; font-weight: 700; color: var(--green-dark);
}
.auth-logo p { font-size: 13px; color: #8a7e6c; margin-top: 4px; }

/* Form elements */
label { display: block; font-size: 12px; font-weight: 600; color: #5a4e3a; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="password"] {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 14px;
  background: var(--parchment); color: var(--text); margin-bottom: 18px;
  transition: border-color 0.2s;
}
input:focus { outline: none; border-color: var(--green-light); }

.btn-submit {
  width: 100%; padding: 12px; border: none; border-radius: 8px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #fff; font-family: 'DM Sans', sans-serif; font-size: 14px;
  font-weight: 600; cursor: pointer;
  box-shadow: 0 2px 12px rgba(45,80,22,0.2);
  transition: box-shadow 0.2s, transform 0.15s;
}
.btn-submit:hover { box-shadow: 0 4px 20px rgba(45,80,22,0.35); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.error-msg {
  background: #fef0ec; border: 1px solid #e8c0b0; border-radius: 8px;
  padding: 10px 14px; font-size: 13px; color: var(--red);
  margin-bottom: 16px; display: none;
}

.switch-link {
  text-align: center; margin-top: 20px; font-size: 13px; color: #8a7e6c;
}
.switch-link a { color: var(--green-mid); font-weight: 600; text-decoration: none; }
.switch-link a:hover { text-decoration: underline; }

/* Nav bar */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 16px 24px; width: 100%;
}
.site-nav .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-nav .nav-logo-icon { width: 64px; height: 64px; object-fit: contain; }
.site-nav .nav-logo-text {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; color: var(--green-dark);
}
.site-nav .nav-links { display: flex; gap: 8px; align-items: center; }
.site-nav .nav-links a {
  font-size: 13px; font-weight: 600; text-decoration: none; padding: 8px 16px;
  border-radius: 8px; transition: all 0.2s;
}
.nav-link-outline { color: var(--green-mid); border: 1.5px solid var(--border); }
.nav-link-outline:hover { border-color: var(--green-light); background: #f8faf5; }
.nav-link-primary { background: linear-gradient(135deg, var(--green-mid), var(--green-light)); color: #fff !important; }
.nav-link-primary:hover { box-shadow: 0 2px 12px rgba(45,80,22,0.3); }
.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }

/* Info page content area */
.info-content {
  max-width: 720px; margin: 0 auto; padding: 40px 24px;
  animation: fadeUp 0.5s ease-out;
}
.info-content h1 {
  font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700;
  color: var(--green-dark); margin-bottom: 16px;
}
.info-content h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600;
  color: var(--green-dark); margin: 32px 0 12px;
}
.info-content p, .info-content li { font-size: 15px; line-height: 1.7; margin-bottom: 12px; color: #4a4236; }
.info-content a { color: var(--green-mid); font-weight: 500; }
.info-content a:hover { text-decoration: underline; }
.info-content ul { padding-left: 24px; }

/* Cookie consent */
.cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--green-dark); color: #e8e8e8;
  padding: 14px 24px; font-size: 13px; line-height: 1.5;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  z-index: 9999;
}
.cookie-consent a { color: var(--gold); }
.cookie-consent button {
  background: var(--green-light); color: #fff; border: none;
  border-radius: 6px; padding: 8px 20px; font-size: 13px;
  font-weight: 600; cursor: pointer;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-card { margin: 16px; padding: 24px 20px; }
  .site-nav { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
  .site-nav .nav-links { gap: 4px; }
  .site-nav .nav-links a { padding: 6px 10px; font-size: 12px; }
  .info-content { padding: 24px 16px; }
  .info-content h1 { font-size: 26px; }
  .cookie-consent { flex-direction: column; text-align: center; gap: 10px; }
}
