﻿.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(52,56,64,.96);
  color: rgba(255,255,255,.92);
  box-shadow:
    0 18px 42px rgba(22,24,30,.35),
    0 2px 0 rgba(255,255,255,.06) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .24s ease, transform .24s ease;
}

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

.cookie-consent__text {
  margin: 0;
  font-family: var(--font-ui, "DM Sans", Arial, sans-serif);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-consent__text a {
  color: #fff;
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-consent__btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: var(--font-ui, "DM Sans", Arial, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}

.cookie-consent__btn:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.45);
}

.cookie-consent__btn:active {
  transform: translateY(1px);
}

.cookie-consent__btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.84);
}

.cookie-consent__btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-consent__actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .cookie-consent__btn {
    width: 100%;
  }
}
