﻿/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  background: rgba(20, 28, 46, 0.96);
  color: #fff;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.95;
}

.cookie-banner__link {
  color: #8ec7ff;
  text-decoration: underline;
}

.cookie-banner__actions {
  margin-left: auto;
  flex-shrink: 0;
  line-height: 2.5;
  text-align: center;
}

.cookie-banner .btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.cookie-details-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 0 4px;
  color: #8ec7ff;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-details {
  display: none;
  margin-top: 6px;
  opacity: 0.95;
}

.cookie-details[hidden] {
  display: none !important;
}

.cookie-details.is-open {
  display: block;
}

.cookie-panel {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.cookie-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.cookie-switch input[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-panel__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}

@media (max-width: 720px) {
  .cookie-panel {
    margin-top: 10px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
  }

  .cookie-banner__actions {
    margin-left: 0;
  }
}
