/* Hillsong Netherlands (hillsong.com/netherlands/nl/) Light White & Black Theme
   Matches the screenshot:
   - Subtle light gray top utility bar (#f2f2f2) with compact language dropdown ("EN v")
   - Crisp white main navigation bar (#ffffff) with circular black outline Hillsong logo & bold uppercase "NETHERLANDS"
   - Light gray page body (#ebebeb) with clean white cards, medium-gray headings, and solid black pill buttons */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&family=Dancing+Script:wght@700&display=swap');

:root {
  --bg-page: #ebebeb;
  --bg-topbar: #f4f4f4;
  --bg-header: #ffffff;
  --bg-card: #ffffff;
  --bg-card-subtle: #f7f7f7;
  --border-subtle: #e0e0e0;
  --border-strong: #111111;

  --text-primary: #111111;
  --text-heading-muted: #7a7a7a;
  --text-secondary: #555555;
  --text-muted: #888888;

  /* Status accents */
  --running-green: #15803d;
  --running-green-dot: #16a34a;
  --running-green-bg: #f0fdf4;
  --running-green-border: #86efac;

  --stopped-red: #b91c1c;
  --stopped-red-bg: #fef2f2;
  --stopped-red-border: #fca5a5;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Utility Bar (like "VIND EEN KERK | HILLSONG ... EN v") */
.top-utility-bar {
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.top-utility-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.utility-divider {
  color: #cccccc;
}

/* Compact Language Dropdown in top right ("EN v") */
.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  padding: 3px 18px 3px 6px;
  cursor: pointer;
  text-transform: uppercase;
}

.lang-select:focus {
  outline: none;
}

.lang-select-wrap::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--text-primary);
  border-bottom: 1.5px solid var(--text-primary);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* Main White Navigation Bar */
.main-navbar {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 20px;
}

.main-navbar-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.8px solid var(--text-primary);
  background: #ffffff;
  color: var(--text-primary);
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.brand-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Main Container */
.app-container {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 28px 18px 44px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Status Hero Card with immediate Green / Red visual glow */
.status-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.status-card.is-running {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.11) 0%, #ffffff 65%);
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14), 0 12px 30px -6px rgba(22, 163, 74, 0.22);
}

.status-card.is-stopped {
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.10) 0%, #ffffff 65%);
  border-color: #f43f5e;
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.13), 0 12px 30px -6px rgba(225, 29, 72, 0.20);
}

.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.status-indicator-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 4px 0 14px;
}

.status-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.is-running .status-icon-circle {
  background: var(--running-green-bg);
  color: var(--running-green);
  border: 2px solid #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.28);
}

.is-stopped .status-icon-circle {
  background: var(--stopped-red-bg);
  color: var(--stopped-red);
  border: 2px solid #f43f5e;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.24);
}

.is-running .status-icon-circle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid #22c55e;
  animation: pulseRing 2.2s infinite ease-out;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.96);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.24);
    opacity: 0;
  }
}

/* Pill Status Badge like Hillsong Black Pill Button with Green / Red Halo Glow */
.status-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000000;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
}

.is-running .status-pill-badge {
  border: 1.5px solid #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.42);
}

.is-stopped .status-pill-badge {
  border: 1.5px solid #f43f5e;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.38);
}

.status-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.is-running .status-pill-dot {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.is-stopped .status-pill-dot {
  background: #f43f5e;
  box-shadow: 0 0 10px #f43f5e;
}

.status-description {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 4px auto 18px;
}

/* Info Boxes inside Status Card */
.info-boxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  text-align: left;
}

.info-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 16px;
}

.info-box-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.info-box-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.info-box-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.status-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--running-green-dot);
  margin-right: 6px;
}

/* Standard Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.schedule-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.schedule-item.active-shift {
  border-color: #000000;
  border-width: 1.5px;
  background: #ffffff;
}

.schedule-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.schedule-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.schedule-times {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.active-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: #000000;
  color: #ffffff;
}

/* Driver Controls */
.driver-toggle-btn {
  width: 100%;
  padding: 17px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid #000000;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.driver-toggle-btn.btn-start {
  background: #000000;
  color: #ffffff;
}

.driver-toggle-btn.btn-start:hover {
  background: #222222;
}

.driver-toggle-btn.btn-stop {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
}

.driver-toggle-btn.btn-stop:hover {
  background: #f5f5f5;
}

.choice-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.choice-btn {
  width: 100%;
  text-align: left;
  padding: 13px 15px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.choice-btn:hover {
  border-color: #999999;
}

.choice-btn.selected {
  border-color: #000000;
  border-width: 1.5px;
  background: #ffffff;
  font-weight: 600;
}

.input-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.text-input {
  flex: 1;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
}

.text-input:focus {
  outline: none;
  border-color: #000000;
  background: #ffffff;
}

.btn-secondary {
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: #222222;
}

.btn-ghost {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 11px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost:hover {
  border-color: #000000;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #000000;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 100;
  pointer-events: none;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer Nav */
.site-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}
