/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

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

.cookie-consent-message {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #374151;
}

.cookie-consent-message a {
  color: #0066cc;
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.cookie-btn-primary {
  background-color: #0066cc;
  color: #ffffff;
  border-color: #0066cc;
}

.cookie-btn-primary:hover {
  background-color: #0052a3;
  border-color: #0052a3;
}

.cookie-btn-secondary {
  background-color: #ffffff;
  color: #374151;
  border-color: #d1d5db;
}

.cookie-btn-secondary:hover {
  background-color: #f3f4f6;
}

/* Cookie Customize Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  max-width: 500px;
  max-height: 85vh;
  padding: 1.5rem;
  z-index: 10001;
  overflow: auto;
}

.cookie-modal-title {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.cookie-category {
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-header strong {
  font-weight: 600;
  color: #111827;
}

.cookie-always-active {
  font-size: 0.75rem;
  color: #6b7280;
  font-style: italic;
}

.cookie-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cookie-category-desc {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Responsive */
@media (min-width: 768px) {
  .cookie-consent-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cookie-consent-message {
    flex: 1;
  }

  .cookie-consent-buttons {
    flex-shrink: 0;
  }
}
