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

.cookie-banner {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 26px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(10, 17, 36, 0.95) 0%, rgba(15, 29, 64, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.cookie-banner__text {
  max-width: 680px;
}

.cookie-banner h2 {
  margin: 0 0 6px;
  font: 400 1.05rem Sora, sans-serif;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.cookie-banner p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.55;
}

.cookie-banner a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie-banner a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.cookie-banner button,
.cookie-preferences-link {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font: 400 0.85rem Inter, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-banner__accept {
  border: 1px solid rgba(96, 165, 250, 0.4);
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.cookie-banner__accept:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}

.cookie-banner__reject {
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #93c5fd;
}

.cookie-banner__reject:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
}

.cookie-banner button:focus-visible,
.cookie-preferences-link:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

.cookie-preferences-link {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #93c5fd;
  font-weight: 300;
  text-align: left;
}

.cookie-preferences-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    padding: 20px;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .cookie-banner button {
    width: 100%;
  }
}
