// =============================================================================
// COOKIE BANNER
// Cookie law banner styling with overlay effect
// =============================================================================

#CookielawBanner {
  // Make the banner container cover the entire viewport
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 9998 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: -10px !important;
}

#CookielawBanner > div:first-child {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-height: 90vh;
  overflow-y: auto;
  // Responsive width
  width: 90vw;

  @media screen and (min-width: 768px) {
    width: 50vw;
  }
}

// CSS Cookie Icons
.cookie-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #d2691e 0%, #8b4513 100%);
  border-radius: 50%;
  position: relative;
  margin-right: 8px;
  vertical-align: middle;
}

.cookie-icon::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 6px;
  width: 3px;
  height: 3px;
  background: #654321;
  border-radius: 50%;
  box-shadow: 8px 2px 0 #654321,
  4px 8px 0 #654321,
  12px 10px 0 #654321,
  2px 12px 0 #654321,
  10px 4px 0 #654321;
}

// Privacy icon
.privacy-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

.privacy-icon::before {
  content: '🛡️';
  font-size: 16px;
}

// Information links styling
.cookie-info-links {
  margin-top: 10px;
  font-size: 0.85em;
}

.cookie-info-links a {
  color: $primary-color;
  text-decoration: none;
  margin-right: 15px;
}

.cookie-info-links a:hover {
  text-decoration: underline;
}
