/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(50, 50, 50, 0.95);
  color: #fff;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  font-family: 'Montserrat', sans-serif;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}

.cookie-consent-banner.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.cookie-consent-text {
  margin-bottom: 20px;
}

.cookie-consent-text h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.cookie-consent-text p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-consent-text a {
  color: #ffd700;
  text-decoration: none;
}

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

.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.cookie-btn-accept-all {
  background-color: #4CAF50;
  color: white;
}

.cookie-btn-accept-all:hover {
  background-color: #3e8e41;
}

.cookie-btn-necessary {
  background-color: #f1f1f1;
  color: #333;
}

.cookie-btn-necessary:hover {
  background-color: #ddd;
}

.cookie-btn-reject {
  background-color: #f44336;
  color: white;
}

.cookie-btn-reject:hover {
  background-color: #d32f2f;
}

.cookie-settings-toggle {
  background: none;
  border: none;
  color: #ffd700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  margin-top: 10px;
  align-self: flex-start;
}

.cookie-settings-toggle:hover {
  color: #ffeb3b;
}

.cookie-settings {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-settings.show {
  display: block;
}

.cookie-setting-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-setting-item label {
  margin-left: 10px;
  font-size: 0.9rem;
}

.cookie-setting-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.cookie-setting-item input[type="checkbox"]:disabled {
  opacity: 0.5;
}

.cookie-setting-description {
  font-size: 0.85rem;
  margin-left: 28px;
  margin-top: 2px;
  color: #ccc;
}

.cookie-settings-save {
  background-color: #2196F3;
  color: white;
  margin-top: 10px;
}

.cookie-settings-save:hover {
  background-color: #0b7dda;
}

.cookie-consent-footer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
}

.cookie-settings-button {
  background-color: rgba(50, 50, 50, 0.8);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 0.8rem;
  display: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-settings-button.show {
  display: block;
}

.cookie-settings-button:hover {
  background-color: rgba(70, 70, 70, 0.9);
}

/* Dark mode compatibility */
body.dark .cookie-consent-banner {
  background-color: rgba(30, 30, 30, 0.95);
}

body.dark .cookie-btn-necessary {
  background-color: #333;
  color: #f1f1f1;
}

body.dark .cookie-btn-necessary:hover {
  background-color: #444;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cookie-consent-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}
