/* -------------------------------------------------------
   NAVBAR
-------------------------------------------------------- */

.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .nav-left,
.navbar .nav-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.navbar a:hover {
  color: var(--primary);
}

/* -------------------------------------------------------
   BUTTONS
-------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-light {
  background: #EEE;
  color: #333;
}

/* Small buttons */
.btn-small {
  padding: 6px 12px;
  font-size: 13px;
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

/* -------------------------------------------------------
   CARDS
-------------------------------------------------------- */

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
}

/* -------------------------------------------------------
   TEXT STYLES
-------------------------------------------------------- */

.helper-text {
  color: #666;
  margin-top: 4px;
  font-size: 14px;
}

.event-date {
  color: #444;
  margin-bottom: 12px;
}

/* -------------------------------------------------------
   LOGO STYLES
-------------------------------------------------------- */

.nav-logo {
  height: 80px;
  width: auto;
  display: block;
}

/* -------------------------------------------------------
   EDIT EVENTS
-------------------------------------------------------- */

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.form-status {
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}

/* -------------------------------------------------------
   BADGES
-------------------------------------------------------- */

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-ready {
  background: #e6f7ee;
  color: #0f7a3a;
}

.status-risk {
  background: #fff4e5;
  color: #9a5b00;
}

.status-critical {
  background: #fdecea;
  color: #a30000;
}

/* -------------------------------------------------------
   SPLASH
-------------------------------------------------------- */

.splash-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.splash-overlay.hidden {
  display: none;
}

.splash-modal {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
}

.splash-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

.splash-sub {
  color: #666;
  margin-bottom: 18px;
}

.splash-points {
  text-align: left;
  margin-bottom: 20px;
}

.splash-points div {
  margin-bottom: 6px;
}

.splash-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------------------------------------------
   FOOTER
-------------------------------------------------------- */

.site-footer {
  margin-top: 48px;
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 13px;
  color: #4b5563;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-left span {
  display: block;
  line-height: 1.4;
}

.footer-location {
  font-style: italic;
  color: #6b7280;
}

.footer-right {
  display: flex;
  gap: 14px;
  align-items: center;
  white-space: nowrap;
}

.footer-right a {
  color: #2563eb;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

.footer-version {
  font-family: monospace;
  color: #2563eb;
}
