:root {
  --sage: #8FBC8F;
  --petrol: #0b3b46;
  --petrol-dark: #06262e;
  --gold: #B8860B;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --text: #061417;
  --shadow: 0 24px 60px rgba(0,0,0,.28);
  --radius: 26px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--petrol-dark);
  overflow-x: hidden;
}

.fixed-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 20%, rgba(143,188,143,.45), transparent 28%),
    radial-gradient(circle at 85% 5%, rgba(184,134,11,.3), transparent 22%),
    linear-gradient(135deg, rgba(6,38,46,.97), rgba(11,59,70,.94)),
    url("./assets/background.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: screen, screen, multiply, normal;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 3px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(12, 77, 77, 0.5);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.brand-logo {
  width: 44px;
  height: 44px;

  object-fit: contain;

  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.brand-text {
  color: white;

  font-weight: 700;

  letter-spacing: 0.03em;

  white-space: nowrap;
}

.brand:hover .brand-logo {
  transform: scale(1.04);

  filter:
    drop-shadow(0 0 10px rgba(184,134,11,.55));
}


nav {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  font-size: .88rem;
}

nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  transition: all 0.2s ease;
}

nav a:hover {
  color: #b88f0b;

  text-shadow:
    0 0 8px rgba(184,134,11,.55),
    0 0 18px rgba(184,134,11,.35);

  transition: all 0.2s ease;
}

select {
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  padding: 8px 12px;
  background: white;
}

.panel-section,
.hero {
  min-height: 100vh;
  padding: 130px 24px 72px;
  display: grid;
  place-items: center;
}

.hero-logo {
  width: min(680px, 78vw);
  height: auto;
  display: block;

  filter:
    drop-shadow(0 18px 38px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 24px rgba(184, 134, 11, 0.18));
}

.section-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.glass {
  background: rgba(255, 255, 255, 0.692);

  border: 1px solid rgba(255,255,255,0.55);

  border-radius: var(--radius);

  backdrop-filter: blur(10px);

  box-shadow: var(--shadow);
}

.hero-card {
  width: min(940px, calc(100% - 24px));
  padding: clamp(32px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

h1, h2, h3 { margin-top: 0; }

h1 {
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  line-height: .94;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  margin-bottom: 16px;
}

p { line-height: 1.65; }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary { background: var(--gold); color: white; }
.secondary { background: var(--petrol); color: white; }

.hero-actions,
.vote-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.intro-box {
  width: min(1120px, 100%);
  padding: clamp(18px, 3vw, 32px);
  margin: 0 auto 24px;
}

.news-grid,
.member-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.small-card,
.calendar,
.contact-card,
.programme-card {
  padding: 24px;
}

.calendar {
  margin-top: 20px;
}

.calendar-list {
  display: grid;
  gap: 10px;
}

.gallery-tile {
  min-height: 190px;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.45);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.gallery-btn {
  margin-left: 8px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
}

.gallery-modal.is-open {
  display: block;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.32);
  backdrop-filter: blur(5px);
}

.gallery-modal-content {
  position: relative;
  z-index: 1;

  width: min(1280px, calc(100% - 32px));
  height: min(88vh, 860px);

  margin: 6vh auto;

  display: grid;
  place-items: center;

  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  border: 3px solid rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);

  box-shadow: 0 24px 80px rgba(0,0,0,.36);

  overflow: hidden;
}

.gallery-modal-slider {
  position: relative;

  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;
}

.gallery-slide {
  position: absolute;

  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;
  object-position: center;

  opacity: 0;

  transition: opacity 1s ease;
}

.gallery-slide.active {
  opacity: 1;
}

.scroll-stage {
  position: relative;
  min-height: 420vh;
  padding-top: 0;
}

.scroll-stage.long-stage {
  min-height: 560vh;
}

#leadership {
  scroll-margin-top: 116px;
}

.leadership-year-timeline {
  position: relative;

  width: min(920px, 100%);
  height: calc(100vh - 360px);
  min-height: 300px;

  margin: 0 auto;

  overflow: hidden;
}

.leadership-year-timeline::before {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;
  left: 50%;

  width: 3px;

  transform: translateX(-50%);

  background: linear-gradient(to bottom, transparent, var(--gold), transparent);

  box-shadow: 0 0 18px rgba(184,134,11,.65);
}

.leadership-year-row {
  position: absolute;

  left: 0;
  top: 0;

  width: 100%;

  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  gap: 16px;

  opacity: 0;

  transition: opacity 0.16s linear;
}

.leadership-year-cell {
  display: flex;
}

.left-cell {
  justify-content: flex-end;
  text-align: right;
}

.right-cell {
  justify-content: flex-start;
  text-align: left;
}

.leadership-year-card {
  width: min(260px, 100%);

  padding: 10px 14px;

  border-radius: 16px;

  background: rgba(255,255,255,.82);

  border: 1px solid rgba(255,255,255,.5);

  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.leadership-year-card strong {
  display: block;

  color: var(--petrol);

  font-size: .95rem;
}

.leadership-year-card span {
  display: block;

  margin-top: 3px;

  font-size: .78rem;

  color: rgba(0,0,0,.72);
}

.leadership-year-placeholder {
  width: min(260px, 100%);
  height: 1px;
}

.leadership-year-dot {
  position: relative;

  display: grid;
  place-items: center;
}

.leadership-year-dot::before {
  content: "";

  width: 14px;
  height: 14px;

  border-radius: 999px;

  background: var(--gold);

  box-shadow: 0 0 0 6px rgba(184,134,11,.18);
}

.leadership-year-dot span {
  position: absolute;

  top: 18px;

  font-size: .72rem;
  font-weight: 1000;

  letter-spacing: 0.24em;

  color: #B8860B;

  text-shadow: 0 0 8px rgba(0,0,0,.75);
}

.scroll-stage.leadership-stage {
  min-height: 620vh;
}

.leadership-combined-stage {
  min-height: 720vh;
}

.leadership-fixed-row {
  width: min(920px, 100%);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dual-timeline {
  height: calc(100vh - 430px);
  min-height: 300px;
}

.dual-timeline .timeline-item.left {
  text-align: right;
}

.dual-timeline .timeline-item.right {
  text-align: left;
}

.hidden-stage.is-open {
  display: block;
}

.sticky-box {
  position: sticky;
  top: 0;
  height: 100vh;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 116px;
  overflow: hidden;
}

.viewport-timeline {
  position: relative;
  height: calc(100vh - 340px);
  min-height: 360px;
  margin: 0 auto;
  width: min(920px, 100%);
}

.viewport-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  box-shadow: 0 0 18px rgba(184,134,11,.65);
}

.timeline-item {
  position: absolute;
  left: 50%;
  width: min(390px, 43%);
  padding: 18px 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: translateY(120vh);
  transition: opacity .18s linear;
}

.timeline-item.left {
  margin-left: calc(-1 * min(430px, 47%));
  text-align: right;
}

.timeline-item.right {
  margin-left: 40px;
  text-align: left;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(184,134,11,.18);
}

.timeline-item.left::after { right: -48px; }
.timeline-item.right::after { left: -48px; }

.timeline-item h3 {
  margin-bottom: 8px;
  color: var(--petrol);
}

.timeline-thumb {
  width: 100%;
  height: 96px;
  margin-bottom: 12px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(143,188,143,.85), rgba(11,59,70,.75)),
    url("https://images.unsplash.com/photo-1474302770737-173ee21bab63?auto=format&fit=crop&w=800&q=70");
  background-size: cover;
  background-position: center;
}

.timeline-extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all .28s ease;
  font-size: .92rem;
}

.timeline-item:hover .timeline-extra {
  max-height: 180px;
  opacity: 1;
  margin-top: 10px;
}


.leadership-grid {
  display: grid;
  gap: 20px;
}

.cold-top {
  max-width: 920px;
  margin: 0 auto;
}

.programme-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.clickable-programme {
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.clickable-programme:hover,
.clickable-programme.is-active {
  transform: translateY(-4px);
  background: var(--glass-strong);
}

.clickable-programme span {
  color: var(--gold);
  font-weight: 800;
}

.kyc-form {
  display: grid;
  gap: 12px;
}

input {
  width: 100%;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 14px;
  padding: 12px 14px;
}

pre {
  white-space: pre-wrap;
  background: rgba(6,38,46,.9);
  color: white;
  padding: 14px;
  border-radius: 16px;
  min-height: 80px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.role-hidden {
  display: none !important;
}

@media (max-width: 940px) {
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);

  width: min(1180px, calc(100% - 32px));

  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 12px 16px;

  border: 1.5px solid rgba(255,255,255,0.75);

  border-radius: 999px;

  background: rgba(255,255,255,0.04);

  backdrop-filter: blur(10px);

  box-shadow:
    0 8px 28px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 1px 12px rgba(255,255,255,.08) inset;
}

  nav { justify-content: flex-start; }

  .panel-section,
  .hero {
    padding-top: 190px;
  }

  .sticky-box {
    width: min(100% - 24px, 760px);
    padding-top: 180px;
  }

  .viewport-timeline {
    height: calc(100vh - 380px);
  }

  .viewport-timeline::before {
    left: 24px;
  }

  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    left: 0;
    width: calc(100% - 58px);
    margin-left: 58px;
    text-align: left;
  }

  .timeline-item.left::after,
  .timeline-item.right::after {
    left: -41px;
    right: auto;
  }

  .news-grid,
  .member-grid,
  .gallery-grid,
  .programme-row {
    grid-template-columns: 1fr;
  }
}

.read-more-btn {
  margin-top: 14px;

  border: 0;
  border-radius: 999px;

  padding: 8px 14px;

  background: var(--petrol);

  color: white;

  font-weight: 800;

  cursor: pointer;
}

.read-more-btn:hover {
  background: var(--gold);
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.event-modal.is-open {
  display: block;
}

.event-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(8px);
}

.event-modal-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  height: min(86vh, 820px);
  margin: 7vh auto;
  padding: 24px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 52% 1fr;
}

.event-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--petrol);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.event-modal-slider {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(0,0,0,.28);
  aspect-ratio: 21 / 9;
  width: 100%;
  max-height: 42vh;
}

.modal-slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  opacity: 0;
  transition: opacity 1s ease;
}

.modal-slide.active {
  opacity: 1;
}

.event-modal-text {
  overflow-y: auto;
  padding: 24px 8px 0;
}

.event-modal-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.event-modal-text h3 {
  margin-top: 22px;
  color: var(--petrol);
}

.text-only-modal {
  grid-template-rows: 1fr;
}

.text-only-modal .event-modal-text {
  padding: 32px;
}

/* Backend integration UI */
.auth-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.auth-login-btn,
.auth-menu-toggle {
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255,255,255,.92);
  color: var(--petrol);
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.auth-menu {
  position: relative;
}

.auth-menu-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
}

.auth-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  display: none;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.auth-menu.is-open .auth-dropdown {
  display: grid;
  gap: 6px;
}

.auth-dropdown button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.auth-dropdown button:hover {
  background: rgba(11,59,70,.12);
}

.news-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calendar-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.compact-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.compact-list span,
.compact-list a,
.event-list-item,
.document-list-item,
.folder-list-item {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.58);
  color: var(--text);
  text-decoration: none;
}

.event-list-item strong,
.document-list-item strong,
.folder-list-item strong {
  display: block;
  color: var(--petrol);
}

.event-list-item small,
.document-list-item small,
.folder-list-item small {
  display: block;
  margin-top: 4px;
  color: rgba(0,0,0,.66);
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
}

.app-modal.is-open {
  display: block;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(8px);
}

.app-modal-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 40px));
  max-height: 84vh;
  margin: 8vh auto;
  padding: 30px;
  overflow-y: auto;
}

.wide-app-modal {
  width: min(980px, calc(100% - 40px));
}

.app-form {
  display: grid;
  gap: 12px;
}

.app-form select,
.app-form textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 14px;
  padding: 12px 14px;
  background: white;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
  font-size: .95rem;
}

.checkbox-row input {
  width: auto;
  margin-top: 3px;
}

.form-message {
  margin: 0;
  font-weight: 700;
}

.form-message.is-error {
  color: #8b1a1a;
}

.form-message.is-success {
  color: #145c2a;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-tile {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.62);
}

.dashboard-tile strong {
  display: block;
  font-size: 1.8rem;
  color: var(--petrol);
}

.dashboard-tile span {
  display: block;
  margin-top: 4px;
  font-weight: 700;
}

.member-grid.is-verified {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-grid.is-verified .workspace-card,
.member-grid.is-verified .voting-card {
  min-height: 250px;
}

@media (max-width: 940px) {
  .news-grid-two,
  .dashboard-grid,
  .member-grid.is-verified {
    grid-template-columns: 1fr;
  }

  .auth-dropdown {
    right: auto;
    left: 0;
  }
}


.form-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nested-form-block {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.45);
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 12px;
  align-items: center;
}

.captcha-row span {
  font-weight: 800;
}

.app-form label:not(.checkbox-row) {
  font-weight: 800;
  color: var(--petrol);
}

@media (max-width: 940px) {
  .form-grid-two,
  .captcha-row {
    grid-template-columns: 1fr;
  }
}


.profile-image-editor {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

.profile-avatar {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--petrol), var(--gold));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.35rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.profile-avatar.small {
  width: 54px;
  height: 54px;
  font-size: .95rem;
  flex: 0 0 auto;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-image-editor small {
  display: block;
  margin-top: 6px;
  color: rgba(0,0,0,.62);
  line-height: 1.35;
}

.directory-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.directory-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.55);
}

.directory-card strong,
.directory-card small,
.directory-card span {
  display: block;
}

.directory-card small {
  margin: 3px 0 8px;
  color: var(--petrol);
  font-weight: 800;
}

.file-service-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}

.file-service-actions .btn:disabled {
  opacity: .58;
  cursor: not-allowed;
}

.folder-list-item span {
  display: block;
  margin-top: 5px;
  color: rgba(0,0,0,.62);
  font-size: .86rem;
}


textarea {
  width: 100%;
  min-height: 90px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  resize: vertical;
}

.voting-admin-form {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.55);
}

.voting-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.voting-summary span {
  display: block;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.5);
  font-weight: 800;
}

.voting-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.55);
}

.voting-item header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.voting-item strong,
.voting-item small,
.voting-item span {
  display: block;
}

.voting-pill {
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--petrol);
  color: white;
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
}

.voting-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.voting-actions .btn {
  padding: 8px 12px;
  font-size: .85rem;
}

@media (max-width: 760px) {
  .voting-summary {
    grid-template-columns: 1fr 1fr;
  }
}


/* Enhanced voting dashboard */
.voting-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.voting-section {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.voting-section h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(11,59,70,.12);
  color: var(--petrol);
}

.voting-section h3 span {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--petrol);
  color: white;
  font-size: .9rem;
}

.voting-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0;
}

.voting-metrics span {
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.5);
}

.voting-metrics strong {
  color: var(--petrol);
  font-size: 1.05rem;
}

.voting-metrics small {
  margin-top: 2px;
  font-size: .72rem;
}

.voting-pill-approved {
  background: #145c2a;
}

.voting-pill-rejected,
.voting-pill-veto_used {
  background: #8b1a1a;
}

.voting-pill-pending {
  background: var(--petrol);
}

@media (max-width: 760px) {
  .voting-summary,
  .voting-metrics {
    grid-template-columns: 1fr 1fr;
  }
}
