/**
 * Idemili Eye — Global Design System
 * Loaded on every front-end page (see idemili-voting-engine.php, section 8)
 * so every Idemili Eye page — whatever WordPress theme is active — shares
 * the same refined typography, spacing, color, and component language.
 *
 * This file only styles content INSIDE Idemili Eye page templates (the
 * areas wrapped in .ieye-* classes below). It never touches your theme's
 * own header, footer, or menu — those stay exactly as your theme renders
 * them, so this plugin works with any WordPress theme.
 */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
--------------------------------------------------------------------- */
:root {
  --ieye-dark: #073B2C;
  --ieye-dark-2: #0B6E4F;
  --ieye-green: #0E8F5E;
  --ieye-green-light: #E7F7EE;
  --ieye-gold: #E7B23C;
  --ieye-gold-dark: #C6931F;
  --ieye-bg-tint: #F3F8F5;
  --ieye-bg-tint-2: #F8FBF9;
  --ieye-border: #DCEAE3;
  --ieye-text: #12201B;
  --ieye-text-soft: #3E5A4F;
  --ieye-muted: #6C8A7C;
  --ieye-muted-2: #8A9F94;
  --ieye-danger: #C0392B;
  --ieye-danger-bg: #FDEBEB;

  --ieye-radius-sm: 8px;
  --ieye-radius-md: 12px;
  --ieye-radius-lg: 16px;
  --ieye-radius-xl: 22px;

  --ieye-shadow-sm: 0 2px 8px rgba(7, 59, 44, 0.06);
  --ieye-shadow-md: 0 10px 30px rgba(7, 59, 44, 0.10);
  --ieye-shadow-lg: 0 20px 50px rgba(7, 59, 44, 0.16);

  --ieye-space-1: 4px;
  --ieye-space-2: 8px;
  --ieye-space-3: 16px;
  --ieye-space-4: 24px;
  --ieye-space-5: 40px;
  --ieye-space-6: 64px;
  --ieye-space-7: 96px;

  --ieye-font-display: 'Bebas Neue', 'Oswald', sans-serif;
  --ieye-font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------------------------------------------------------------------
   2. BASE / CONTAINERS
--------------------------------------------------------------------- */
.ieye-page {
  font-family: var(--ieye-font-body);
  color: var(--ieye-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
.ieye-page * { box-sizing: border-box; }
.ieye-page h1, .ieye-page h2, .ieye-page h3, .ieye-page .ieye-display {
  font-family: var(--ieye-font-display);
  letter-spacing: 0.4px;
  color: var(--ieye-dark);
  line-height: 1.05;
}
.ieye-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: var(--ieye-space-6) var(--ieye-space-4);
}
.ieye-container-narrow { max-width: 680px; }
.ieye-container-medium { max-width: 920px; }

.ieye-legal-body { padding-bottom: var(--ieye-space-6); }
.ieye-legal-body h3 { font-family: var(--ieye-font-display); font-size: 19px; color: var(--ieye-dark); margin: var(--ieye-space-5) 0 8px; letter-spacing: 0.3px; }
.ieye-legal-body h3:first-child { margin-top: var(--ieye-space-4); }
.ieye-legal-body p { color: var(--ieye-text-soft); font-size: 14.5px; line-height: 1.65; margin: 0 0 4px; }
.ieye-legal-body a { color: var(--ieye-green); font-weight: 700; }
.ieye-consent-note { font-size: 12.5px; color: var(--ieye-muted); margin-top: 10px; }
.ieye-consent-note a { color: var(--ieye-green); font-weight: 700; }

@media (max-width: 640px) {
  .ieye-container { padding: var(--ieye-space-5) var(--ieye-space-3); }
}

.ieye-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ieye-green);
  background: var(--ieye-green-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: var(--ieye-space-3);
}

.ieye-section-title {
  font-size: 38px;
  margin: 0 0 8px;
}
.ieye-section-sub {
  color: var(--ieye-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 0 var(--ieye-space-5);
}

/* ---------------------------------------------------------------------
   3. BUTTONS
--------------------------------------------------------------------- */
.ieye-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ieye-font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--ieye-radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease;
  line-height: 1.2;
}
.ieye-btn:focus-visible {
  outline: 3px solid var(--ieye-gold);
  outline-offset: 2px;
}
.ieye-btn-primary {
  background: var(--ieye-gold);
  color: var(--ieye-dark);
  box-shadow: var(--ieye-shadow-sm);
}
.ieye-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--ieye-shadow-md); filter: brightness(1.03); }
.ieye-btn-dark {
  background: var(--ieye-dark);
  color: #fff;
}
.ieye-btn-dark:hover { transform: translateY(-2px); background: var(--ieye-dark-2); }
.ieye-btn-outline {
  background: transparent;
  border: 2px solid currentColor;
  color: #fff;
}
.ieye-btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.ieye-btn-outline-dark {
  background: transparent;
  border: 2px solid var(--ieye-border);
  color: var(--ieye-dark);
}
.ieye-btn-outline-dark:hover { border-color: var(--ieye-green); color: var(--ieye-green); }
.ieye-btn-block { width: 100%; }
.ieye-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------------------------------------------------------------------
   4. CARDS
--------------------------------------------------------------------- */
.ieye-card {
  background: #fff;
  border: 1px solid var(--ieye-border);
  border-radius: var(--ieye-radius-lg);
  box-shadow: var(--ieye-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.ieye-card { display: block; text-decoration: none; color: inherit; overflow: hidden; }
a.ieye-card:hover { transform: translateY(-4px); box-shadow: var(--ieye-shadow-md); }

.ieye-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--ieye-space-4);
}

.ieye-hm-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: linear-gradient(155deg, var(--ieye-dark-2), var(--ieye-dark));
}
.ieye-hm-body { padding: var(--ieye-space-3) var(--ieye-space-3) var(--ieye-space-4); }
.ieye-hm-name { font-family: var(--ieye-font-display); font-size: 21px; color: var(--ieye-dark); margin: 6px 0 2px; }
.ieye-hm-state { font-size: 12.5px; color: var(--ieye-muted); }

/* ---------------------------------------------------------------------
   5. BADGES / CHIPS
--------------------------------------------------------------------- */
.ieye-chip {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  border-radius: 999px;
}
.ieye-chip-success { background: var(--ieye-green-light); color: var(--ieye-green); }
.ieye-chip-pending { background: #FFF6E0; color: var(--ieye-gold-dark); }
.ieye-chip-danger  { background: var(--ieye-danger-bg); color: var(--ieye-danger); }

/* ---------------------------------------------------------------------
   6. FORMS
--------------------------------------------------------------------- */
.ieye-field { margin-bottom: var(--ieye-space-4); }
.ieye-field label {
  display: block;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ieye-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ieye-field input[type="text"],
.ieye-field input[type="email"],
.ieye-field input[type="tel"],
.ieye-field input[type="url"],
.ieye-field input[type="date"],
.ieye-field input[type="number"],
.ieye-field select,
.ieye-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--ieye-border);
  border-radius: 10px;
  /* 16px minimum — below this, iOS Safari zooms the whole page in when
     the field is focused, which is a jarring, very commonly-cited mobile
     annoyance. Keeping every input, select and textarea at 16px avoids it
     on every iPhone/iPad regardless of model. */
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ieye-field input:focus,
.ieye-field select:focus,
.ieye-field textarea:focus {
  outline: none;
  border-color: var(--ieye-green);
  box-shadow: 0 0 0 4px var(--ieye-green-light);
}
.ieye-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ieye-space-3); }
@media (max-width: 620px) { .ieye-field-row { grid-template-columns: 1fr; } }

.ieye-notice {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: var(--ieye-space-4);
  border-left: 4px solid transparent;
}
.ieye-notice-success { background: var(--ieye-green-light); color: var(--ieye-green); border-color: var(--ieye-green); }
.ieye-notice-error   { background: var(--ieye-danger-bg); color: var(--ieye-danger); border-color: var(--ieye-danger); }

/* voting.js / membership.js toggle these class names directly on the
   message box — keep them aliased to the same look as ieye-notice-*. */
.ieye-msg-success { background: var(--ieye-green-light); color: var(--ieye-green); border-left: 4px solid var(--ieye-green); padding: 14px 18px; border-radius: 10px; font-size: 14px; }
.ieye-msg-error   { background: var(--ieye-danger-bg); color: var(--ieye-danger); border-left: 4px solid var(--ieye-danger); padding: 14px 18px; border-radius: 10px; font-size: 14px; }

/* ---------------------------------------------------------------------
   7. HERO SLIDER
--------------------------------------------------------------------- */
.ieye-hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 520px;
  background: var(--ieye-dark);
}
.ieye-hero-track {
  position: relative;
  height: 520px;
}
@media (max-width: 640px) { .ieye-hero-track, .ieye-hero-slider { min-height: 460px; height: 460px; } }

.ieye-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.ieye-hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ieye-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7,59,44,0.92) 0%, rgba(7,59,44,0.72) 42%, rgba(7,59,44,0.35) 75%),
    linear-gradient(160deg, var(--ieye-dark-2), var(--ieye-dark));
}
.ieye-hero-slide-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--ieye-space-4);
  width: 100%;
}
.ieye-hero-content { max-width: 620px; color: #fff; }
.ieye-hero-live-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: var(--ieye-space-3);
}
.ieye-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ieye-gold);
  margin-bottom: var(--ieye-space-3);
}
.ieye-hero-headline {
  font-family: var(--ieye-font-display);
  font-size: 56px;
  line-height: 1.02;
  margin: 0 0 var(--ieye-space-3);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
@media (max-width: 780px) { .ieye-hero-headline { font-size: 38px; } }
.ieye-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  margin: 0 0 var(--ieye-space-4);
  max-width: 500px;
}
.ieye-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.ieye-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  backdrop-filter: blur(4px);
}
.ieye-hero-nav:hover { background: rgba(255,255,255,0.28); }
.ieye-hero-prev { left: var(--ieye-space-4); }
.ieye-hero-next { right: var(--ieye-space-4); }
@media (max-width: 640px) { .ieye-hero-nav { width: 36px; height: 36px; font-size: 15px; } }

.ieye-hero-dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.ieye-hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.ieye-hero-dot.is-active { background: var(--ieye-gold); transform: scale(1.25); }

/* ---------------------------------------------------------------------
   8. HOMEPAGE SECTIONS
--------------------------------------------------------------------- */
.ieye-stats-bar {
  background: var(--ieye-dark);
  padding: var(--ieye-space-5) var(--ieye-space-4);
}
.ieye-stats-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ieye-space-4);
  text-align: center;
}
@media (max-width: 760px) { .ieye-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.ieye-stat-n {
  font-family: var(--ieye-font-display);
  font-size: 36px;
  color: var(--ieye-gold);
}
.ieye-stat-l {
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.ieye-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ieye-space-4);
}
@media (max-width: 780px) { .ieye-steps-grid { grid-template-columns: 1fr; } }
.ieye-step-card {
  padding: var(--ieye-space-4);
}
.ieye-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ieye-green-light);
  color: var(--ieye-green);
  font-family: var(--ieye-font-display);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--ieye-space-3);
}
.ieye-step-card h3 { font-size: 19px; margin: 0 0 6px; }
.ieye-step-card p { color: var(--ieye-muted); font-size: 14px; margin: 0; }
.ieye-step-card p a { color: var(--ieye-green); font-weight: 700; }

.ieye-howto-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .ieye-howto-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ieye-howto-grid { grid-template-columns: 1fr; } }

.ieye-faq-block { margin-top: var(--ieye-space-6); }
.ieye-faq-item {
  background: #fff;
  border: 1px solid var(--ieye-border);
  border-radius: var(--ieye-radius-md);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.ieye-faq-item summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--ieye-dark);
  font-size: 15px;
}
.ieye-faq-item p { color: var(--ieye-muted); font-size: 14px; margin: 10px 0 0; }
.ieye-faq-item p a { color: var(--ieye-green); font-weight: 700; }

/* Diary / house updates feed */
.ieye-diary-feed { display: flex; flex-direction: column; gap: 18px; }
.ieye-diary-entry {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--ieye-border);
  border-radius: var(--ieye-radius-lg);
  padding: 18px;
  box-shadow: var(--ieye-shadow-sm);
}
.ieye-diary-img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--ieye-radius-md); flex-shrink: 0; }
.ieye-diary-day {
  display: inline-block;
  background: var(--ieye-green-light);
  color: var(--ieye-green);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.ieye-diary-body h3 { margin: 2px 0 6px; font-size: 18px; }
.ieye-diary-body p { margin: 0 0 8px; font-size: 14px; color: var(--ieye-text-soft); }
.ieye-diary-meta { font-size: 12.5px; color: var(--ieye-muted); }
.ieye-diary-meta a { color: var(--ieye-green); font-weight: 700; }
@media (max-width: 560px) {
  .ieye-diary-entry { flex-direction: column; }
  .ieye-diary-img { width: 100%; height: 160px; }
}

/* Homepage "Latest From The House" strip */
.ieye-diary-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ieye-space-4); }
@media (max-width: 780px) { .ieye-diary-strip { grid-template-columns: 1fr; } }
.ieye-diary-strip-card {
  background: #fff;
  border: 1px solid var(--ieye-border);
  border-radius: var(--ieye-radius-lg);
  padding: 20px;
  box-shadow: var(--ieye-shadow-sm);
}
.ieye-diary-strip-card h3 { margin: 6px 0; font-size: 17px; }
.ieye-diary-strip-card p { font-size: 13.5px; color: var(--ieye-muted); margin: 0; }

/* Social links (footer) */
.ieye-social-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ieye-social-row a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.15s ease;
}
.ieye-social-row a:hover { background: var(--ieye-gold); color: var(--ieye-dark) !important; }

.ieye-cta-band {
  background: linear-gradient(120deg, var(--ieye-dark), var(--ieye-dark-2));
  border-radius: var(--ieye-radius-xl);
  padding: var(--ieye-space-6) var(--ieye-space-5);
  text-align: center;
  color: #fff;
}
.ieye-cta-band h2 { color: #fff; font-size: 34px; margin: 0 0 10px; }
.ieye-cta-band p { color: rgba(255,255,255,0.82); margin: 0 0 var(--ieye-space-4); }

.ieye-empty { color: var(--ieye-muted-2); font-size: 13px; font-style: italic; }

/* ---------------------------------------------------------------------
   9. TABLES (account dashboard, admin screens, etc.)
--------------------------------------------------------------------- */
.ieye-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ieye-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.ieye-table th {
  text-align: left;
  color: var(--ieye-muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--ieye-border);
  padding: 10px 8px;
  white-space: nowrap;
}
.ieye-table td { padding: 13px 8px; border-bottom: 1px solid #EEF5F1; white-space: nowrap; }
@media (max-width: 760px) {
  /* Admin tables run 7-10 columns wide — far more than a phone screen can
     show without squashing every cell illegibly. Rather than fight that,
     the table scrolls horizontally inside .ieye-table-wrap, so the data
     stays fully legible and a swipe reveals the rest, on any phone. */
  .ieye-table { min-width: 640px; }
  .ieye-table th, .ieye-table td { padding: 10px; }
}

/* ---------------------------------------------------------------------
   10. STANDALONE SITE CHROME (header / nav / footer)
   Only used by the standalone PHP build, which owns the whole <body> —
   the WordPress build instead uses its active theme's own header/footer.
--------------------------------------------------------------------- */
/* Safety net: nothing on the page — a long unbroken string, a slightly
   oversized element someone adds later — should ever be able to force
   the whole page to scroll sideways on a phone. Anything that genuinely
   needs horizontal scroll (the data tables above) opts back into it
   explicitly via its own overflow-x:auto, so this doesn't fight them. */
html { overflow-x: hidden; width: 100%; }
html, body { margin: 0; padding: 0; }
body { overflow-x: hidden; }
body.ieye-page { background: var(--ieye-bg-tint-2); }

.ieye-site-header {
  background: var(--ieye-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.ieye-site-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ieye-site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ieye-site-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
  position: relative;
}
.ieye-site-nav a:hover { color: var(--ieye-gold); }
.ieye-site-nav a.is-active { color: #fff; }
.ieye-site-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2.5px;
  background: var(--ieye-gold);
  border-radius: 2px;
}
.ieye-site-nav a.ieye-nav-vote-btn {
  background: var(--ieye-gold);
  color: var(--ieye-dark) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 14px rgba(212,175,55,0.35);
}
.ieye-site-nav a.ieye-nav-vote-btn:hover { background: #fff; color: var(--ieye-dark) !important; }
.ieye-site-nav a.ieye-nav-vote-btn.is-active::after { display: none; }

.ieye-topbar {
  background: linear-gradient(90deg, var(--ieye-green) 0%, var(--ieye-green-dark, var(--ieye-dark)) 100%);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 8px 16px;
}
.ieye-topbar a { color: var(--ieye-gold); text-decoration: underline; margin-left: 6px; }
.ieye-topbar .ieye-topbar-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #ff4d4d;
  border-radius: 50%;
  margin-right: 8px;
  animation: ieye-pulse 1.4s infinite;
  vertical-align: middle;
}
@keyframes ieye-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@media (max-width: 480px) { .ieye-topbar { font-size: 12px; } }

.ieye-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  /* 44x44 is the touch-target minimum both Apple's and Google's mobile
     guidelines recommend, so the hamburger is comfortably tappable on
     any phone, not just a large one. */
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.ieye-nav-toggle span { display: block; width: 22px; height: 2.4px; background: #fff; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

.ieye-site-footer {
  background: var(--ieye-dark);
  margin-top: var(--ieye-space-6);
}
.ieye-footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: var(--ieye-space-3) !important;
}
.ieye-footer-tagline { color: rgba(255,255,255,0.62); font-size: 13.5px; max-width: 340px; margin: 14px 0 0; }
.ieye-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.ieye-footer-links a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.ieye-footer-links a:hover { color: var(--ieye-gold); }
.ieye-footer-copy { color: rgba(255,255,255,0.5) !important; font-size: 12.5px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--ieye-space-3); }
.ieye-footer-copy a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.ieye-footer-copy a:hover { color: var(--ieye-gold); }

@media (max-width: 760px) {
  .ieye-nav-toggle { display: flex; }
  .ieye-site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 8px;
  }
  .ieye-site-nav.is-open { display: flex; }
  .ieye-site-nav a { padding: 9px 4px; width: 100%; }
}

/* ---------------------------------------------------------------------
   11. AUTH FORMS (login / register)
--------------------------------------------------------------------- */
.ieye-auth-card { max-width: 420px; margin: 0 auto; }

/* ---------------------------------------------------------------------
   12. LOGO MARK
--------------------------------------------------------------------- */
.ieye-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff; /* the mark's stroke uses currentColor */
  text-decoration: none;
}
.ieye-logo-mark { flex-shrink: 0; display: block; }
.ieye-logo-word {
  font-family: var(--ieye-font-display);
  font-size: 21px;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1;
}
.ieye-logo-word em { font-style: normal; color: var(--ieye-gold); }
.ieye-logo-icon-only .ieye-logo-word { display: none; }

.ieye-login-logo { color: var(--ieye-dark); }
.ieye-login-logo .ieye-logo-word { color: var(--ieye-dark); font-size: 24px; }
.ieye-login-logo .ieye-logo-word em { color: var(--ieye-gold-dark); }

.ieye-admin-logo .ieye-logo-mark { width: 28px; height: 18px; }
.ieye-admin-logo .ieye-logo-word { font-size: 18px; }

.ieye-footer-logo .ieye-logo-word { font-size: 22px; }

/* ---------------------------------------------------------------------
   13. SHARE BUTTONS (applicant referral links)
--------------------------------------------------------------------- */
.ieye-share-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ieye-share-card {
  background: linear-gradient(120deg, var(--ieye-dark), var(--ieye-dark-2));
  color: #fff;
  border-radius: var(--ieye-radius-lg);
  padding: 24px;
  margin: var(--ieye-space-4) 0;
}
.ieye-share-card h3 { color: #fff; margin: 0 0 6px; font-size: 20px; }
.ieye-share-card p { color: rgba(255,255,255,0.82); font-size: 13.5px; margin: 0 0 16px; }
