/* path: public/assets/css/cookie.css */

.cookie-consent-banner {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 28px);
  left: clamp(14px, 3vw, 32px);
  z-index: 60;
}

.cookie-consent-banner[hidden] {
  display: none;
}

.cookie-consent-content {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(220, 228, 234, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  color: #16202a;
  box-shadow: 0 18px 46px rgba(28, 43, 55, 0.18);
}

.cookie-consent-text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.cookie-consent-text p {
  margin: 0;
  color: #4d5d6b;
  font-size: 0.95rem;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-consent-primary,
.cookie-consent-secondary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 9px 16px;
  font-weight: 800;
  white-space: nowrap;
}

.cookie-consent-primary {
  border: 1px solid #0d766e;
  background: #0d766e;
  color: #ffffff;
  cursor: pointer;
}

.cookie-consent-primary:hover {
  background: #075e59;
}

.cookie-consent-secondary {
  border: 1px solid #dce4ea;
  background: #ffffff;
  color: #16202a;
}

.cookie-policy-page {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.cookie-policy-section {
  padding: 24px;
  border: 1px solid var(--color-border, #dce4ea);
  border-radius: 8px;
  background: var(--color-surface, #ffffff);
  box-shadow: var(--shadow-soft, 0 14px 36px rgba(28, 43, 55, 0.1));
}

.cookie-policy-section h2 {
  margin-bottom: 12px;
}

.cookie-policy-section p:last-child {
  margin-bottom: 0;
}

.cookie-policy-list {
  display: grid;
  gap: 14px;
}

.cookie-policy-list h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.cookie-policy-links {
  margin: 8px 0 0;
  padding-left: 22px;
}

@media (max-width: 760px) {
  .cookie-consent-content {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .cookie-consent-primary,
  .cookie-consent-secondary {
    width: 100%;
  }
}
