@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700&display=swap');

#cookiesBanner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  background: #faf1d0;
  color: #f0f0f0;
  padding: 1rem 1.5rem;
  border-radius: 0px;
  font-family: "Red Hat Display", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 9999;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

#cookiesBanner.show {
  opacity: 1;
  transform: translateY(0);
}

.banner-header {
  display: flex;
  align-items: center;
}

.banner-logo {
  height: 40px;
}

.banner-text {
  font-size: 0.95rem;
  color: #000000;
}

.banner-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.banner-buttons button {
  flex: 1;
  padding: 0.5rem 0.8rem;
  border-radius: 25px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  font-family: "Red Hat Display", sans-serif;
  transition: all 0.25s;
}

#acceptCookies {
  background: #4e4339; 
  color: #fff;
}
#acceptCookies:hover { background: #a19386; }

#declineCookies {
  background: #a19386; 
  color: #fff;
}
#declineCookies:hover { background: #4e4339; }

#preferencesCookies {
  background: #a19386; 
  color: #fff;
}
#preferencesCookies:hover { background: #4e4339; }

.banner-links {
  font-size: 0.8rem;
  color: #aaa;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.banner-links a {
  color: #000000;
  text-decoration: underline;
}
.banner-links a:hover {
  color: #4e4339;
}

/* ===== Preferences panel ===== */
.preferences-panel {
  margin-top: 1rem;
  background: #3a3a3a;
  padding: 1rem;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.preferences-panel h4 {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.preferences-panel label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #ddd;
}

.preferences-panel input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

#savePreferences {
  margin-top: 0.5rem;
  background: #4e4339;
  color: #fff;
  border: none;
  padding: 0.5rem;
  font-family: "Red Hat Display", sans-serif;
  border-radius: 20px;
  cursor: pointer;
}
#savePreferences:hover { background: #3a322a; }