.footer-consent-button {
  background: transparent;
  border: 0;
  color: #34434b;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: inherit;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.footer-consent-button:hover {
  color: #1a7abf;
}

.footer-consent-button:focus-visible {
  border-radius: 3px;
  outline: 2px solid #1a7abf;
  outline-offset: 3px;
}

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

.cookie-consent {
  align-items: center;
  background: #fff;
  border: 1px solid #cbdde5;
  border-radius: 12px;
  bottom: max(1rem, env(safe-area-inset-bottom));
  box-shadow: 0 14px 40px rgba(38, 56, 64, 0.2);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 1rem;
  margin: 0 auto;
  max-width: 880px;
  padding: 1.25rem;
  position: fixed;
  right: 1rem;
  z-index: 10000;
}

.cookie-consent h2 {
  color: #263840;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 0.35rem;
}

.cookie-consent p {
  color: #56666e;
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

.cookie-consent p a,
.cookie-consent p a:visited {
  color: #176ba8;
  font-weight: 600;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.65rem;
}

.cookie-consent-button {
  border: 1px solid #1a7abf;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  white-space: nowrap;
}

.cookie-consent-reject {
  background: #fff;
  color: #176ba8;
}

.cookie-consent-accept {
  background: #1a7abf;
  color: #fff;
}

.cookie-consent-button:hover {
  box-shadow: 0 3px 10px rgba(26, 122, 191, 0.18);
  transform: translateY(-1px);
}

.cookie-consent-button:focus-visible,
.cookie-consent p a:focus-visible {
  outline: 3px solid rgba(26, 122, 191, 0.35);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .cookie-consent {
    align-items: stretch;
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    gap: 1rem;
    grid-template-columns: 1fr;
    left: 0.65rem;
    padding: 1rem;
    right: 0.65rem;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-consent-button {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    white-space: normal;
  }
}

@media print {
  .cookie-consent {
    display: none;
  }
}
