.cookie-consent-hidden {
  display: none !important;
}

.cookie-consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 480px;
  margin-left: auto;
  z-index: 1050;
  background: #ffffff;
  border: 1px solid #d3d9e5;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(8, 26, 58, 0.2);
}

.cookie-consent-content {
  padding: 0.75rem;
}

.cookie-consent-title {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.cookie-consent-text {
  margin-top: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.35;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-consent-banner .btn {
  padding: 0.25rem 0.6rem;
  font-size: 0.82rem;
}

.cookie-consent-banner a:focus-visible,
.cookie-consent-banner button:focus-visible,
.cookie-consent-modal a:focus-visible,
.cookie-consent-modal button:focus-visible,
.cookie-consent-modal input:focus-visible {
  outline: 2px solid #0e1432;
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .cookie-consent-banner {
    max-width: none;
  }
}

.cookie-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(0, 0, 0, 0.55);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-consent-modal-panel {
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  border-radius: 0.75rem;
  padding: 0.95rem;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-consent-modal-panel h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.cookie-consent-modal-panel p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.cookie-consent-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.55rem 0;
  font-size: 0.88rem;
}

.cookie-consent-option input {
  margin-top: 0.25rem;
}

.cookie-consent-modal-panel .cookie-consent-actions {
  margin-top: 0.75rem;
}

.consent-embed-wrapper {
  border: 1px solid #d3d9e5;
  border-radius: 0.5rem;
  overflow: hidden;
}

.consent-embed-notice {
  padding: 0.9rem;
  background: #f8f9fc;
}

.consent-embed-notice p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
