/* ============================================================
   cookie-consent.css — Pureframe Labs
   Cookie consent banner styles
   ============================================================ */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.4s ease;
  will-change: transform, opacity;
}

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

.cookie-consent-banner.cookie-banner-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-consent-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-consent-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.cookie-consent-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.cookie-consent-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.cookie-consent-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  max-width: 600px;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: #2563EB;
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .cookie-consent-inner {
    flex-direction: column;
    padding: 18px 20px;
    gap: 16px;
    align-items: stretch;
  }

  .cookie-consent-text {
    gap: 10px;
  }

  .cookie-consent-icon {
    font-size: 24px;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
  }
}
