/* Cookie consent popup - matches provided design */

.cookie-consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.cookie-consent-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  padding: 1.75rem 1.75rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.cookie-consent-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.cookie-consent-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #333;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 4px;
}

.cookie-consent-close:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.06);
}

.cookie-consent-popup h2 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  padding-right: 2.5rem;
  line-height: 1.3;
}

.cookie-consent-popup p {
  font-size: 0.9375rem;
  color: #333;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.cookie-consent-popup a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.cookie-consent-popup a:hover {
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
}

.cookie-consent-btn {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: none;
}

.cookie-consent-btn-reject {
  background: transparent;
  color: #2563eb;
  border: 1px solid transparent;
}

.cookie-consent-btn-reject:hover {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.06);
}

.cookie-consent-btn-accept {
  background: #2563eb;
  color: #ffffff;
}

.cookie-consent-btn-accept:hover {
  background: #1d4ed8;
}

@media (max-width: 480px) {
  .cookie-consent-popup {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .cookie-consent-popup h2 {
    font-size: 1.2rem;
  }

  .cookie-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions .cookie-consent-btn {
    width: 100%;
  }
}
