/* =====================================================
   COOKIE CONSENT — ENTERPRISE MODAL (GDPR / CCPA)
   ===================================================== */

/* FULL-SCREEN OVERLAY */
.cookie-banner {
  position: fixed;
  inset: 0;
  background: rgba(11, 47, 89, 0.65); /* dim page behind */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

/* =====================================================
   MODAL CONTAINER
   ===================================================== */

.cookie-container {
  background: #ffffff;
  width: 72vw;
  max-width: 900px;
  max-height: 80vh;
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
}

/* =====================================================
   CLOSE (X) — VISUAL ONLY (JS HANDLES ESC)
   ===================================================== */

.cookie-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-dark);
}

.cookie-close:hover {
  opacity: 0.7;
}

/* =====================================================
   TEXT CONTENT
   ===================================================== */

.cookie-text h3 {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--blue-primary);
}

.cookie-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gray-dark);
  margin-bottom: 1.2rem;
}

.cookie-text a {
  color: var(--blue-secondary);
  text-decoration: underline;
}

/* =====================================================
   ACTION BUTTONS
   ===================================================== */

.cookie-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-mid);
}

/* SHARED BUTTON STYLES */

.cookie-actions button {
  flex: 1;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-main);
}

/* ACCEPT — PRIMARY CTA */

.cookie-accept {
  background-color: var(--teal-cta);
  color: #ffffff;
  border: none;
}

.cookie-accept:hover {
  background-color: #178fa0;
}

/* DECLINE — SECONDARY CTA */

.cookie-decline {
  background: transparent;
  color: var(--blue-primary);
  border: 1px solid var(--blue-primary);
}

.cookie-decline:hover {
  background-color: var(--blue-primary);
  color: #ffffff;
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */

.cookie-accept:focus-visible,
.cookie-decline:focus-visible,
.cookie-close:focus-visible {
  outline: 2px solid var(--teal-cta);
  outline-offset: 2px;
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {
  .cookie-container {
    width: 92vw;
    max-height: 88vh;
    padding: 2rem 1.5rem;
  }

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