/* ============================================
   Cookie Consent Banner
   ============================================ */

#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.55);
  padding: 18px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

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

#cookie-consent-banner.hiding {
  transform: translateY(100%);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.cookie-banner-text {
  flex: 1;
  min-width: 220px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.cookie-banner-text a {
  color: #818cf8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.cookie-banner-text a:hover {
  color: #a5b4fc;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cookie-btn-decline:hover {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.6);
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 576px) {
  #cookie-consent-banner {
    padding: 16px;
  }

  .cookie-banner-inner {
    gap: 14px;
  }

  .cookie-banner-icon {
    display: none;
  }

  .cookie-banner-text p {
    font-size: 0.82rem;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .cookie-btn-accept,
  .cookie-btn-decline {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
  }
}
