/* =====================================
   Cookie consent banner
   ===================================== */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 18px 24px;
  background: #ffffff;
  color: #333333;
  border-top: 1px solid #dddddd;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  box-sizing: border-box;
}

#cookie-message {
  max-width: 900px;
  margin: 0 auto 12px auto;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

/* =====================================
   Buttons
   ===================================== */

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 8px 22px;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Accept button */

#cookie-accept {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
}

#cookie-accept:hover {
  background: #1d4ed8;
}

/* Reject button */

#cookie-reject {
  background: #ffffff;
  color: #333333;
  border: 1px solid #999999;
}

#cookie-reject:hover {
  background: #f1f1f1;
}

/* =====================================
   Cookie preferences button
   ===================================== */

#cookie-settings {
  position: fixed;
  bottom: 15px;
  left: 15px;
  padding: 6px 12px;
  background: #ffffff;
  color: #555555;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 0.75rem;
  cursor: pointer;
  z-index: 9998;
  opacity: 0.8;
}

#cookie-settings:hover {
  opacity: 1;
  background: #f5f5f5;
}

/* =====================================
   Mobile responsiveness
   ===================================== */

@media (max-width: 600px) {

  #cookie-banner {
    padding: 16px;
  }

  #cookie-message {
    font-size: 0.85rem;
    text-align: left;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

  #cookie-settings {
    bottom: 10px;
    left: 10px;
  }
}