﻿/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 3px solid #263F63;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  padding: 18px 24px;
  z-index: 9000;
  transform: translateY(105%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.show { transform: translateY(0); }

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  flex: 1;
  min-width: 260px;
  margin: 0;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}
.cookie-banner-inner a {
  color: #263F63;
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* ===== COOKIE BUTTONS ===== */
.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}
.cookie-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.cookie-btn-accept  { background: #263F63; color: #fff; }
.cookie-btn-reject  { background: #e9ecef; color: #333; }
.cookie-btn-settings { background: #fff; color: #263F63; border: 1.5px solid #263F63; }

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}
.cookie-modal.open { display: flex; }

.cookie-modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  max-width: 480px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.cookie-modal-content h2 {
  color: #263F63;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.cookie-category {
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 14px;
}
.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cookie-category-header > div strong { font-size: 16px; color: #263F63; }
.cookie-category-header > div p { margin: 4px 0 0; font-size: 13px; color: #666; }
.cookie-always-on {
  font-size: 13px;
  font-weight: 500;
  color: #28a745;
  white-space: nowrap;
}

.cookie-modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ===== TOGGLE SWITCH ===== */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  transition: background 0.3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: #263F63; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
  position: absolute;
  inset: 0;
  background: #f0f3f8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.map-placeholder-content { max-width: 260px; }
.map-placeholder-icon { font-size: 2.5rem; margin-bottom: 10px; }
.map-placeholder-content strong { color: #263F63; font-size: 15px; display: block; margin-bottom: 6px; }
.map-placeholder-sub { font-size: 13px; color: #666; margin-bottom: 14px; }
.map-placeholder-btn {
  background: #263F63;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  transition: opacity 0.2s;
}
.map-placeholder-btn:hover { opacity: 0.85; }
