.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999; /* High z-index to ensure it sits on top of everything */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1rem;
  transition: opacity 0.3s ease;
}

.cookie-modal-content {
  width: 100%;
  max-width: 56rem;
  background-color: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin-bottom: 2rem;
  border: 1px solid rgba(44, 95, 118, 0.1);
}

.cookie-details {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9fafb;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Force hidden state with highest priority */
.hidden {
  display: none !important;
}

/* Responsive overrides if needed by main layout, but ensuring our modal behavior persists */
@media (min-width: 768px) {
  .md\:flex {
    display: flex !important;
  }
  .md\:block {
    display: block !important;
  }
}