/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  z-index: 99999;
  font-family: inherit;
  animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpCookie {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-banner-icon {
  font-size: 20px;
}
.cookie-banner-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 0;
  color: #fff;
}
.cookie-banner-text {
  font-size: 13px;
  line-height: 1.6;
  color: #d1d5db;
  margin: 0 0 18px 0;
}
.cookie-banner-text a {
  color: #fb7185;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cookie-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-family: inherit;
}
.cookie-btn-primary {
  background: #f43f5e;
  color: #fff;
  border-color: #f43f5e;
}
.cookie-btn-primary:hover {
  background: #e11d48;
}
.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #f3f4f6;
  border-color: rgba(255, 255, 255, 0.15);
}
.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.cookie-btn-text {
  background: transparent;
  color: #9ca3af;
  text-decoration: underline;
  padding: 8px 12px;
}
.cookie-btn-text:hover {
  color: #fff;
}

/* Custom Preferences Drawer */
.cookie-preferences-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-pref-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.cookie-pref-info strong {
  font-size: 13px;
  display: block;
  color: #f9fafb;
}
.cookie-pref-info p {
  font-size: 11px;
  color: #9ca3af;
  margin: 3px 0 0 0;
  line-height: 1.5;
}
.cookie-pref-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #f43f5e;
  cursor: pointer;
}
.cookie-pref-badge {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  padding: 2px 6px;
  border-radius: 3px;
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-btn {
    text-align: center;
  }
}
