/* ═══════════════════════════════════════════════════
   HEADER STYLES - Event Calendar Dashboard
   Overstrand Municipality
   ═══════════════════════════════════════════════════ */

.dashboard-header {
  background: linear-gradient(135deg, #00467e 0%, #00467e 100%);
  color: #fff;
  padding: 12px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-logo {
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.dashboard-header-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.dashboard-header-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dashboard-header-meta {
  text-align: right;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  white-space: nowrap;
}

/* ── Info trigger ── */
.info-trigger {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  vertical-align: middle;
  transition: color 0.2s, transform 0.25s;
  line-height: 1;
}
.info-trigger:hover {
  color: #fff;
  transform: scale(1.25) rotate(15deg);
}

/* ── Info flip panel ── */
.flip-viewport {
  position: fixed;
  inset: 0;
  z-index: 8000;
  pointer-events: none;
  perspective: 2200px;
  transform-style: preserve-3d;
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.45, 0.05, 0.15, 1.0);
}

.flip-face.flip-front {
  background: transparent;
  transform: rotateX(0deg);
}

.flip-face.flip-back {
  background: #f4f6f9;
  transform: rotateX(180deg);
  overflow: hidden;
}

.flip-viewport.open { pointer-events: auto; }
.flip-viewport.open .flip-front { transform: rotateX(-180deg); }
.flip-viewport.open .flip-back  { transform: rotateX(0deg); }

/* ── Info panel layout ── */
.info-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.info-topbar {
  background: linear-gradient(135deg, #00467e 0%, #003a66 100%);
  color: #fff;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.info-topbar-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.info-close-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}
.info-close-btn:hover { background: rgba(255,255,255,0.28); }

.info-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 32px 40px 40px;
}

.info-hero {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #dce3ed;
}
.info-hero-icon { font-size: 48px; color: #00467e; margin-bottom: 12px; display: block; }
.info-hero h1   { font-size: 24px; font-weight: 700; color: #00467e; margin: 0 0 6px; }
.info-hero p    { font-size: 13px; color: #666; margin: 0; }

.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}

.info-col   { display: flex; flex-direction: column; gap: 20px; }

.info-section h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #00467e;
  margin: 0 0 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.info-section p {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
  margin: 0;
}

.info-features-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #00467e;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.info-stat {
  background: #fff;
  border: 1px solid #dce3ed;
  border-left: 3px solid #00467e;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: box-shadow 0.15s;
}
.info-stat:hover { box-shadow: 0 2px 10px rgba(0,70,126,0.12); }
.info-stat i     { font-size: 16px; color: #00467e; }
.info-stat span  { font-size: 11px; font-weight: 700; color: #222; }
.info-stat small { font-size: 10px; color: #666; line-height: 1.4; }

.info-contact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #eaf1fb;
  border: 1px solid #c5d9f0;
  border-radius: 8px;
  padding: 18px 22px;
}
.info-contact-icon { font-size: 26px; color: #00467e; flex-shrink: 0; margin-top: 2px; }
.info-contact strong { display: block; font-size: 13px; color: #333; margin-bottom: 10px; }
.info-custodians { display: flex; gap: 22px; flex-wrap: wrap; }
.info-custodians span {
  font-size: 13px; font-weight: 600; color: #00467e;
  display: flex; align-items: center; gap: 6px;
}
