/* ----- Cookie Banner ----- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f7f7f7;
  border-top: 1px solid #ccc;
  padding: 20px;
  z-index: 9999;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  font-family: sans-serif;
}

#cookie-banner p {
  margin: 0 0 10px;
  font-size: 15px;
}

#cookie-banner button {
  margin: 0 5px;
  padding: 8px 16px;
  background: #222;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

#cookie-banner button:hover {
  background: #555;
}

/* ----- Manage Preferences Popup ----- */
#cookie-settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  padding: 24px;
  z-index: 10000;
  max-width: 90%;
  width: 320px;
  font-family: sans-serif;
}

#cookie-settings h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  text-align: center;
}

#cookie-settings label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

#cookie-settings input[type="checkbox"] {
  margin-right: 8px;
}

#cookie-settings button {
  margin-top: 10px;
  margin-right: 10px;
  padding: 8px 14px;
  background: #222;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

#cookie-settings button:hover {
  background: #444;
}

/* ----- Floating Manage Button ----- */
#cookie-manage-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: #eee;
  color: #333;
  border: 1px solid #bbb;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  z-index: 9999;
  transition: background 0.3s ease;
}

#cookie-manage-button:hover {
  background: #ddd;
}

/* cookie-consent.css */

#cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  display: none;
  justify-content: center;
  align-items: flex-end;
  z-index: 9999;
  padding: 20px;
}

.cookie-box {
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  font-family: sans-serif;
}

.cookie-box h2 {
  margin-top: 0;
  font-size: 18px;
  color: #333;
}

.cookie-box label {
  display: block;
  margin: 12px 0;
  font-size: 15px;
  color: #444;
}

.cookie-box input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
}

.cookie-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.cookie-buttons button {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.cookie-buttons button#save-cookies {
  background-color: #007bff;
  color: white;
}

.cookie-buttons button.secondary {
  background-color: #f2f2f2;
  color: #333;
}
