/* ============================================================
   CEH – Center for Environmental Health
   Custom stylesheet
   ============================================================ */

:root {
  --ceh-teal: #23515C;
  --ceh-teal-dark: #1a3d46;
  --ceh-teal-light: #2d6677;
  --ceh-gold: #FFC044;
  --ceh-gold-dark: #e6a832;
  --ceh-red: #c0392b;
  --ceh-bg: #ffffff;
  --ceh-section-bg: #f4f6f7;
  --ceh-footer-bg: #23515C;
  --ceh-text: #1a1a1a;
  --ceh-text-muted: #5a6a6e;
  --ceh-border: #dde4e6;
  --ceh-input-bg: #3b7a8c;
}

/* ============================================================
   Base reset & body
   ============================================================ */
.ceh-page * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ceh-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ceh-text);
  background: var(--ceh-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* ============================================================
   Header / Nav
   ============================================================ */
.ceh-header {
  background: #fff;
  border-bottom: 1px solid var(--ceh-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(35,81,92,0.06);
}

.ceh-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ceh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ceh-logo-badge {
  width: 56px;
  height: 56px;
  border: 2px solid var(--ceh-teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.ceh-logo-text {
  font-size: 18px;
  font-weight: 900;
  color: var(--ceh-teal);
  letter-spacing: 0.05em;
  line-height: 1;
}

.ceh-logo-img {
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  width: auto;
  object-fit: contain;
  display: block;
}

.ceh-footer-logo-img {
  height: 48px;
  filter: brightness(0) invert(1);
}

.ceh-logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--ceh-teal);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
  margin-top: 2px;
  opacity: 0.8;
}

.ceh-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ceh-nav-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ceh-teal);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.ceh-nav-link:hover {
  background: rgba(35,81,92,0.07);
}

.ceh-btn-donate {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  background: var(--ceh-gold);
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  display: inline-block;
}

.ceh-btn-donate:hover {
  background: var(--ceh-gold-dark);
  transform: translateY(-1px);
}

/* ============================================================
   Take Action section
   ============================================================ */
.ceh-take-action {
  background: #fff;
  padding: 72px 2rem 80px;
}

.ceh-take-action-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* Hero heading */
.ceh-hero-heading {
  text-align: center;
  margin-bottom: 40px;
}

.ceh-hero-logo-line {
  font-size: clamp(56px, 12vw, 82px);
  font-weight: 900;
  color: var(--ceh-teal);
  letter-spacing: -0.02em;
  line-height: 0.95;
  display: block;
}

.ceh-hero-action-line {
  font-size: clamp(38px, 8vw, 56px);
  font-weight: 900;
  color: var(--ceh-teal);
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
  margin-top: 4px;
}

/* Gold divider under heading */
.ceh-hero-divider {
  width: 64px;
  height: 4px;
  background: var(--ceh-gold);
  border-radius: 2px;
  margin: 24px auto 32px;
}

/* Red subtitle */
.ceh-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--ceh-red);
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Intro paragraph */
.ceh-intro {
  font-size: 15px;
  color: var(--ceh-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Bold call-to-action intro line */
.ceh-intro-bold {
  font-size: 15px;
  font-weight: 700;
  color: var(--ceh-text);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Bullet points */
.ceh-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.ceh-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--ceh-section-bg);
  border-radius: 0px 10px 10px 0px;
  padding: 18px 20px;
  border-left: 4px solid var(--ceh-teal);
}

.ceh-point-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: var(--ceh-gold);
  border-radius: 50%;
  margin-top: 6px;
}

.ceh-point-text {
  font-size: 14.5px;
  color: var(--ceh-text);
  line-height: 1.7;
}

.ceh-point-text strong {
  color: var(--ceh-teal);
}

/* Sub-bullet list inside a point */
.ceh-sub-points {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ceh-sub-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ceh-text-muted);
  line-height: 1.6;
}

.ceh-sub-point::before {
  content: '○';
  color: var(--ceh-teal);
  font-size: 13px;
  line-height: 1.6;
  flex-shrink: 0;
}

/* Your story callout */
.ceh-story-callout {
  background: rgba(35,81,92,0.05);
  border: 1px solid rgba(35,81,92,0.15);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.ceh-story-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ceh-red);
  margin-bottom: 14px;
  line-height: 1.4;
}

.ceh-story-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ceh-story-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ceh-text-muted);
  line-height: 1.6;
}

.ceh-story-item::before {
  content: '•';
  color: var(--ceh-gold);
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
  font-weight: 900;
}

.ceh-story-link {
  color: var(--ceh-teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ceh-story-link:hover {
  color: var(--ceh-teal-light);
}

/* ============================================================
   Valero explosion callout
   ============================================================ */
.ceh-valero-callout {
  background: #fff8e1;
  border-left: 4px solid var(--ceh-gold);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.ceh-valero-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ceh-teal);
  margin-bottom: 12px;
  line-height: 1.3;
}

.ceh-valero-body {
  font-size: 14.5px;
  color: var(--ceh-text);
  line-height: 1.75;
  margin-bottom: 10px;
}

.ceh-valero-body:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Personal info grid
   ============================================================ */
.ceh-personal-info {
  margin-top: 40px;
}

.ceh-personal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .ceh-personal-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Disclaimer
   ============================================================ */
.ceh-disclaimer {
  font-size: 12.5px;
  color: var(--ceh-text-muted);
  line-height: 1.5;
  font-style: italic;
  margin-top: -8px;
}

/* ============================================================
   Thank You modal
   ============================================================ */
.ceh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.ceh-modal {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.ceh-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--ceh-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.ceh-modal-close:hover {
  color: var(--ceh-text);
}

.ceh-modal-icon {
  width: 56px;
  height: 56px;
  background: #e8f5f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #1a7a50;
}

.ceh-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ceh-teal);
}

.ceh-modal-body {
  font-size: 15px;
  color: var(--ceh-text-muted);
  line-height: 1.65;
  max-width: 380px;
}


.ceh-modal-share {
  width: 100%;
  margin-top: 8px;
}

.ceh-modal-share-prompt {
  font-size: 14px;
  font-weight: 700;
  color: var(--ceh-teal);
  margin-bottom: 12px;
}

.ceh-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ceh-share-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  font-family: inherit;
}

.ceh-share-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.ceh-share-btn--twitter {
  background: #000;
  color: #fff;
}

.ceh-share-btn--facebook {
  background: #1877f2;
  color: #fff;
}

.ceh-toast {
  margin-top: 12px;
  background: var(--ceh-teal);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
  animation: ceh-fade-slide-in 0.2s ease;
}

.ceh-share-btn--copy {
  background: var(--ceh-section-bg);
  color: var(--ceh-teal);
  border: 1.5px solid var(--ceh-border);
}

.ceh-share-btn--mailto {
  background: var(--ceh-teal);
  color: #fff;
}

/* ============================================================
   Widget V2 form
   ============================================================ */
.ceh-widget {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.ceh-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ceh-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ceh-teal);
  letter-spacing: 0.01em;
}

.ceh-input,
.ceh-textarea {
  width: 100%;
  background: #fff;
  color: var(--ceh-text);
  border: 1.5px solid var(--ceh-border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ceh-input::placeholder,
.ceh-textarea::placeholder {
  color: #aab4b8;
}

.ceh-input:focus,
.ceh-textarea:focus {
  border-color: var(--ceh-teal);
  box-shadow: 0 0 0 3px rgba(35,81,92,0.12);
}

.ceh-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.ceh-btn-submit {
  align-self: flex-start;
  background: var(--ceh-teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.ceh-btn-submit:hover {
  background: var(--ceh-teal-light);
}

.ceh-btn-submit--loading,
.ceh-btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.ceh-btn-secondary {
  background: transparent;
  border: 1px solid var(--ceh-teal);
  border-radius: 6px;
  color: var(--ceh-teal);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  transition: background 0.15s, color 0.15s;
}

.ceh-btn-secondary:hover {
  background: var(--ceh-teal);
  color: #fff;
}

/* ============================================================
   Status messages
   ============================================================ */
/* Spinner with elapsed-seconds counter */
@keyframes ceh-spin {
  to { transform: rotate(360deg); }
}

@keyframes ceh-spin-reverse {
  to { transform: rotate(-360deg); }
}

.ceh-loading-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.ceh-spinner {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 3px solid rgba(35, 81, 92, 0.15);
  border-top-color: var(--ceh-teal);
  border-radius: 50%;
  animation: ceh-spin 1s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ceh-spinner-seconds {
  font-size: 13px;
  font-weight: 700;
  color: var(--ceh-teal);
  line-height: 1;
  /* counter-rotate so the number stays upright while the ring spins */
  animation: ceh-spin-reverse 1s linear infinite;
}

.ceh-spinner-label {
  font-size: 14px;
  color: var(--ceh-teal);
  font-style: italic;
}

.ceh-status-loading {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ceh-teal);
  font-style: italic;
}

.ceh-status-error {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ceh-red);
  font-weight: 600;
}

.ceh-status-success {
  margin-top: 24px;
  background: #e8f5f0;
  border: 1px solid #a3d9c3;
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ceh-status-icon {
  font-size: 28px;
  color: #1a7a50;
}

.ceh-status-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a7a50;
}

.ceh-status-body {
  font-size: 14px;
  color: #2d6655;
  line-height: 1.6;
}

/* ============================================================
   Success actions row
   ============================================================ */
.ceh-status-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

/* View / Hide Letter button */
.ceh-btn-view-letter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid var(--ceh-teal);
  color: var(--ceh-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}

.ceh-btn-view-letter:hover {
  background: var(--ceh-teal);
  color: #fff;
}

/* ============================================================
   Letter streaming / view panel
   ============================================================ */
@keyframes ceh-fade-slide-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ceh-letter-panel {
  margin-top: 24px;
  border: 1.5px solid var(--ceh-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fafbfc;
  animation: ceh-fade-slide-in 0.3s ease;
}

.ceh-letter-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ceh-section-bg);
  border-bottom: 1px solid var(--ceh-border);
}

/* Animated dots (Claude-thinking style) */
.ceh-letter-dots-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
}

@keyframes ceh-dot-bounce {
  0%, 80%, 100% { transform: scale(0.55); opacity: 0.4; }
  40%           { transform: scale(1);    opacity: 1; }
}

.ceh-letter-dot {
  width: 7px;
  height: 7px;
  background: var(--ceh-teal);
  border-radius: 50%;
  animation: ceh-dot-bounce 1.3s infinite ease-in-out;
}

.ceh-letter-dot:nth-child(2) { animation-delay: 0.18s; }
.ceh-letter-dot:nth-child(3) { animation-delay: 0.36s; }

.ceh-letter-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ceh-teal);
  letter-spacing: 0.02em;
}

.ceh-letter-body {
  padding: 20px 24px;
  max-height: 420px;
  overflow-y: auto;
  position: relative;
  scroll-behavior: smooth;
}

.ceh-letter-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ceh-text);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

/* Blinking cursor */
@keyframes ceh-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.ceh-letter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--ceh-teal);
  vertical-align: text-bottom;
  margin-left: 2px;
  border-radius: 1px;
  animation: ceh-blink 0.75s step-end infinite;
}

/* ============================================================
   How It Works section
   ============================================================ */
.ceh-how-it-works {
  background: var(--ceh-section-bg);
  padding: 80px 2rem;
}

.ceh-how-it-works-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ceh-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.ceh-section-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--ceh-teal);
  margin-bottom: 12px;
}

.ceh-section-sub {
  font-size: 15px;
  color: var(--ceh-text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.ceh-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.ceh-step-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
}

.ceh-step-icon {
  width: 52px;
  height: 52px;
  background: var(--ceh-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--ceh-teal);
  flex-shrink: 0;
}

.ceh-step-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ceh-gold-dark);
  margin-bottom: 8px;
}

.ceh-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ceh-teal);
  margin-bottom: 10px;
  line-height: 1.25;
}

.ceh-step-desc {
  font-size: 13.5px;
  color: var(--ceh-text-muted);
  line-height: 1.7;
}

/* ============================================================
   Export page
   ============================================================ */
.ceh-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.ceh-btn-submit--export {
  background: #1a7a50;
}

.ceh-btn-submit--export:hover {
  background: #15633f;
}

.ceh-export-table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--ceh-border);
  border-radius: 10px;
  margin-top: 8px;
}

.ceh-export-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}

.ceh-export-table thead {
  background: var(--ceh-section-bg);
}

.ceh-export-table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--ceh-teal);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid var(--ceh-border);
}

.ceh-export-table td {
  padding: 10px 14px;
  color: var(--ceh-text);
  border-bottom: 1px solid var(--ceh-border);
  vertical-align: top;
}

.ceh-export-table tbody tr:last-child td {
  border-bottom: none;
}

.ceh-export-table tbody tr:hover td {
  background: var(--ceh-section-bg);
}

.ceh-export-comment {
  white-space: normal !important;
  max-width: 280px;
  line-height: 1.5;
  color: var(--ceh-text-muted) !important;
}

.ceh-export-date {
  color: var(--ceh-text-muted) !important;
  font-size: 12px;
}

/* ============================================================
   Footer
   ============================================================ */
.ceh-footer {
  background: var(--ceh-footer-bg);
  padding: 48px 2rem 32px;
  margin-top: auto;
}

.ceh-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ceh-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.ceh-footer-logo-badge {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.ceh-footer-logo-text {
  font-size: 16px;
  font-weight: 900;
  color: var(--ceh-teal);
  letter-spacing: 0.05em;
  line-height: 1;
}

.ceh-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.ceh-footer-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.ceh-footer-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.ceh-footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}

.ceh-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ceh-footer-copy {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
}

.ceh-footer-made {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   Field validation errors
   ============================================================ */
.ceh-input--error,
.ceh-textarea--error {
  border-color: var(--ceh-red) !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12) !important;
}

.ceh-field-error {
  font-size: 12.5px;
  color: var(--ceh-red);
  font-weight: 600;
  margin-top: 2px;
}

/* ============================================================
   Password / auth page
   ============================================================ */
.ceh-auth-overlay {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ceh-section-bg);
  padding: 2rem;
}

.ceh-auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(35,81,92,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.ceh-auth-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ceh-teal);
  text-align: center;
  margin: 0;
}

.ceh-auth-subtitle {
  font-size: 14px;
  color: var(--ceh-text-muted);
  text-align: center;
  margin: -8px 0 0;
}

.ceh-auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ceh-auth-submit {
  width: 100%;
  align-self: stretch;
  justify-content: center;
}

.ceh-auth-error {
  font-size: 13px;
  color: var(--ceh-red);
  font-weight: 600;
  text-align: center;
  margin: 0;
}

.ceh-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ceh-password-input {
  padding-right: 72px !important;
}

.ceh-password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--ceh-teal);
  padding: 4px 6px;
  border-radius: 4px;
  font-family: inherit;
  transition: background 0.15s;
}

.ceh-password-toggle:hover {
  background: rgba(35,81,92,0.08);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 640px) {
  .ceh-header-inner {
    padding: 0 1.25rem;
    height: 60px;
  }

  .ceh-nav-link {
    display: none;
  }

  .ceh-take-action {
    padding: 48px 1.25rem 60px;
  }

  .ceh-how-it-works {
    padding: 60px 1.25rem;
  }

  .ceh-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .ceh-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
