/* Çerez onayı banner + modal */
.cookie-consent {
  position: fixed;
  z-index: 99990;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  pointer-events: none;
}
.cookie-consent__inner {
  pointer-events: auto;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.55;
}
.cookie-consent__inner h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
}
.cookie-consent__inner p {
  margin: 0 0 1rem;
  color: #94a3b8;
  font-size: 0.875rem;
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.cookie-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cookie-consent__btn--primary {
  background: #0d9488;
  color: #fff;
  border-color: #0f766e;
}
.cookie-consent__btn--primary:hover {
  background: #14b8a6;
}
.cookie-consent__btn--ghost {
  background: transparent;
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.15);
}
.cookie-consent__btn--ghost:hover {
  border-color: rgba(52, 211, 153, 0.4);
  color: #fff;
}
.cookie-consent__btn--link {
  background: transparent;
  color: #5eead4;
  border: none;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0.5rem 0.75rem;
}
.cookie-consent__backdrop {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(2, 6, 23, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.cookie-consent__backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.cookie-consent__modal {
  position: fixed;
  z-index: 99999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(26rem, calc(100% - 2rem));
  max-height: min(90vh, 32rem);
  overflow: auto;
  padding: 1.35rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
  color: #e2e8f0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
.cookie-consent__modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-consent__modal h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #f1f5f9;
}
.cookie-consent__modal label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  cursor: pointer;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
}
.cookie-consent__modal input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: #0d9488;
}
.cookie-consent__modal .cookie-consent__muted {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: #64748b;
}
.cookie-consent[hidden],
.cookie-consent.is-hidden {
  display: none !important;
}
body.cookie-consent-modal-open {
  overflow: hidden;
}

/* Footer çerez bağlantısı */
.footer-cookie-link {
  display: inline;
}
.footer-cookie-settings {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font: inherit;
  padding: 0;
  opacity: 0.85;
}
.footer-cookie-settings:hover {
  opacity: 1;
}
