/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: #333;
}

.cookie-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 280px;
}

.cookie-consent-text p {
  margin: 0;
  line-height: 1.5;
}

.cookie-consent-text a {
  color: #6c5ce7;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}

.cookie-btn-accept {
  background: #6c5ce7;
  color: #fff;
  border-color: #6c5ce7;
}

.cookie-btn-accept:hover {
  background: #5a4bd1;
}

.cookie-btn-reject {
  background: #f5f5f5;
  color: #333;
  border-color: #ddd;
}

.cookie-btn-reject:hover {
  background: #eee;
}

.cookie-btn-customize {
  background: transparent;
  color: #6c5ce7;
  border-color: #6c5ce7;
}

.cookie-btn-customize:hover {
  background: #f0eeff;
}

/* Details / Customize Panel */
.cookie-consent-details {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 1.25rem;
}

.cookie-consent-categories {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f9f9f9;
  border-radius: 8px;
  cursor: pointer;
}

.cookie-category-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cookie-category-info strong {
  font-size: 14px;
}

.cookie-category-info span {
  font-size: 12px;
  color: #777;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-toggle input {
  display: none;
}

.cookie-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  transition: background 0.2s;
  cursor: pointer;
}

.cookie-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-toggle input:checked + .cookie-slider {
  background: #6c5ce7;
}

.cookie-toggle input:checked + .cookie-slider::after {
  transform: translateX(20px);
}

.cookie-slider-locked {
  background: #6c5ce7;
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-slider-locked::after {
  transform: translateX(20px);
}

.cookie-always-on {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-consent-inner {
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

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

  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 0.6rem 0.75rem;
  }

  .cookie-consent-details {
    padding: 0 1.25rem 1rem;
  }
}
