/* ============================================================
   Silver State Energy Association — Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:       #1a3a5c;
  --primary-dark:  #0f2540;
  --primary-light: #2a5a8c;
  --accent:        #E07B00;
  --accent-dark:   #a07808;
  --accent-light:  #f0b429;
  --text:          #2c3e50;
  --text-muted:    #6b7280;
  --bg:            #f4f6f9;
  --bg-white:      #ffffff;
  --border:        #dde3ea;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow:        0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.14);
  --radius:        8px;
  --radius-lg:     14px;
  --transition:    0.25s ease;
  --font-sans:     'Inter', sans-serif;
  --font-serif:    'Merriweather', serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
address { font-style: normal; }

/* ---------- Container ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.top-bar span { display: flex; align-items: center; gap: 6px; }
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--accent-light); }

/* ---------- Header ---------- */
.main-header {
  background: var(--primary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

/* Logo */
.site-logo a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-mark {
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.logo-sub {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.main-nav a.active { border-bottom: 2px solid var(--accent); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Page Banner ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}
.breadcrumb {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { margin: 0 6px; }

/* ---------- Hero (Home) ---------- */
.hero {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 90px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,150,12,0.2);
  border: 1px solid rgba(200,150,12,0.4);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent-light); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  display: block;
}
.hero-stat .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-alt { background: #eef1f5; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); max-width: 580px; margin: 0 auto; }
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-header h3 { font-size: 1.05rem; font-weight: 600; }
.card-header .card-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.card-body { padding: 24px; }

/* ---------- Content Box (home summary) ---------- */
.content-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px 48px;
  border-left: 5px solid var(--accent);
}
.content-box h2 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.content-box p { margin-bottom: 16px; color: var(--text); }
.content-box p:last-child { margin-bottom: 0; }

/* ---------- Feature Grid (Home) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 22px;
  color: #fff;
}
.feature-item h3 { color: var(--primary); font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--text-muted); }

/* ---------- Document Links ---------- */
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
  font-size: 14px;
  color: var(--text);
}
.doc-link:hover {
  background: #eef3fc;
  border-color: var(--primary-light);
  color: var(--primary);
}
.doc-link i { color: var(--accent); font-size: 18px; flex-shrink: 0; }
.doc-link .doc-date {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}

/* ---------- Tables ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: #f8f9fb; }
.data-table tr:hover td { background: #eef3fc; }
.data-table a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 500;
}
.data-table a:hover { color: var(--accent-dark); }

/* ---------- Grid Layouts ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }

/* ---------- Board Member Card ---------- */
.board-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 0;
}
.board-photo {
  width: 130px;
  min-height: 150px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.board-photo img { width: 100%; height: 100%; object-fit: cover; }
.board-photo .placeholder-avatar {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255,255,255,0.8);
}
.board-info { padding: 20px 22px; flex: 1; }
.board-info h3 { font-size: 1.05rem; color: var(--primary); font-weight: 700; margin-bottom: 4px; }
.board-info .board-title { color: var(--accent-dark); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.board-info .board-org { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.board-info .board-bio { font-size: 14px; color: var(--text); line-height: 1.6; }

/* ---------- Member Company Card ---------- */
.member-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.member-card-header {
  background: #f0f4f8;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}
.member-logo-wrap {
  width: 90px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.member-logo-wrap img { max-width: 80px; max-height: 50px; object-fit: contain; }
.member-logo-placeholder {
  width: 80px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
  border-radius: 4px;
}
.member-card-header h3 { font-size: 1rem; color: var(--primary); font-weight: 700; }
.member-card-body { padding: 20px 24px; font-size: 14px; }
.member-card-body p { margin-bottom: 6px; display: flex; align-items: flex-start; gap: 8px; }
.member-card-body p i { color: var(--primary-light); margin-top: 3px; flex-shrink: 0; width: 14px; }
.member-card-body .member-website {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 500;
  font-size: 13px;
  padding: 6px 14px;
  border: 1px solid var(--primary);
  border-radius: 20px;
  transition: background var(--transition), color var(--transition);
}
.member-card-body .member-website:hover { background: var(--primary); color: #fff; }

/* ---------- Meetings Scrollable Containers ---------- */
.meetings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.meetings-scroll-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.meetings-scroll-box .scroll-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.meetings-scroll-box .scroll-header h3 { font-size: 1.05rem; font-weight: 600; }
.meetings-scroll-box .scroll-header i { font-size: 18px; opacity: 0.85; }
.scroll-list {
  overflow-y: auto;
  max-height: 520px;
  padding: 16px;
  flex: 1;
}
.scroll-list::-webkit-scrollbar { width: 6px; }
.scroll-list::-webkit-scrollbar-track { background: #f1f1f1; }
.scroll-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.scroll-list::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }
.meeting-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  border-bottom: 1px solid #f0f0f0;
  transition: background var(--transition);
}
.meeting-item:last-child { border-bottom: none; }
.meeting-item:hover { background: #f5f7fa; border-radius: var(--radius); }
.meeting-date-badge {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 8px 10px;
  text-align: center;
  min-width: 52px;
  flex-shrink: 0;
}
.meeting-date-badge .day { font-size: 18px; font-weight: 700; line-height: 1; }
.meeting-date-badge .month { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.meeting-item-body a {
  font-weight: 500;
  color: var(--primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.meeting-item-body a:hover { color: var(--accent-dark); }
.meeting-item-body .meeting-year { color: var(--text-muted); font-size: 12px; margin-top: 2px; }

/* ---------- Contacts Page ---------- */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-card-header .contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.contact-card-header h3 { font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.contact-card-body { padding: 20px 22px; }
.contact-name { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.contact-position { color: var(--text-muted); font-size: 13px; margin-bottom: 14px; }
.contact-info p {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-info p:last-child { margin-bottom: 0; }
.contact-info i { color: var(--primary-light); width: 16px; flex-shrink: 0; }
.contact-info a { color: var(--primary); }
.contact-info a:hover { color: var(--accent-dark); }

/* ---------- Projects Page ---------- */
.project-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.project-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  height: 8px;
}
.project-card-body { padding: 24px; }
.project-card-body h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #96281b; color: #fff; }

/* ---------- Alerts ---------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.alert-error   { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.alert-info    { background: #d1ecf1; border: 1px solid #bee5eb; color: #0c5460; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(42,90,140,0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-green  { background: #d1fae5; color: #065f46; }
.badge-amber  { background: #fef3c7; color: #92400e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); margin-top: auto; }
.footer-top { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-mark {
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 5px;
}
.footer-logo-name { color: #fff; font-weight: 700; font-size: 15px; }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-col address p { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.footer-col address i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-col address a { color: rgba(255,255,255,0.7); }
.footer-col address a:hover { color: var(--accent-light); }

.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin: 0 4px;
}
.footer-links a:hover { color: var(--accent-light); }

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state i { font-size: 40px; margin-bottom: 14px; opacity: 0.4; display: block; }
.empty-state p { font-size: 15px; }

/* ---------- Admin Panel ---------- */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-sidebar-header .admin-logo { color: var(--accent-light); font-size: 18px; font-weight: 800; }
.admin-sidebar-header small { display: block; color: rgba(255,255,255,0.5); font-size: 11px; margin-top: 2px; }
.admin-nav { padding: 16px 10px; flex: 1; }
.admin-nav .nav-section { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,0.35); padding: 12px 10px 6px; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  border-radius: var(--radius);
  margin-bottom: 2px;
  transition: background var(--transition), color var(--transition);
}
.admin-nav a i { width: 18px; text-align: center; opacity: 0.8; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.1); color: #fff; }
.admin-nav a.active { border-left: 3px solid var(--accent); }
.admin-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.admin-main { flex: 1; background: var(--bg); display: flex; flex-direction: column; }
.admin-topbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-topbar h1 { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.admin-content { padding: 32px; flex: 1; }
.admin-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 28px;
  overflow: hidden;
}
.admin-card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-card-header h3 { font-size: 1rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.admin-card-body { padding: 24px; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.admin-stat {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}
.admin-stat-icon.blue   { background: var(--primary); }
.admin-stat-icon.amber  { background: var(--accent); }
.admin-stat-icon.green  { background: #27ae60; }
.admin-stat-icon.purple { background: #8e44ad; }
.admin-stat-num { font-size: 1.7rem; font-weight: 700; color: var(--primary); line-height: 1; }
.admin-stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Admin Table */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  background: #f0f4f8;
  color: var(--text-muted);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid #f0f2f5; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8f9fb; }

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 24px;
}
.login-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}
.login-header {
  background: var(--primary);
  color: #fff;
  padding: 32px 36px 28px;
  text-align: center;
}
.login-header .login-logo-mark {
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 12px;
}
.login-header h2 { font-size: 1.2rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.login-header p { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.login-body { padding: 32px 36px; }

/* Responsive */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:first-child { grid-column: 1 / -1; }
  .meetings-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .board-card { flex-direction: column; }
  .board-photo { width: 100%; min-height: 120px; }
  .admin-sidebar { width: 220px; }
}
@media (max-width: 680px) {
  .top-bar .container { flex-direction: column; gap: 4px; font-size: 12px; }
  .header-inner { height: 64px; }
  .logo-main { font-size: 14px; }
  .logo-sub { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 16px;
    box-shadow: var(--shadow);
    z-index: 999;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .content-box { padding: 24px; }
  .admin-wrapper { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; }
}
