/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  animation: cookieBannerSlideUp 0.4s ease-out;
}

@keyframes cookieBannerSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  animation: cookieOverlayFadeIn 0.3s ease-out;
}

@keyframes cookieOverlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cookie-banner-content {
  position: relative;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  z-index: 10000;
}

.cookie-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cookie-banner-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f1f3d;
  margin: 0;
  line-height: 1.4;
}

.cookie-banner-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  margin-left: 16px;
  flex-shrink: 0;
}

.cookie-banner-close:hover {
  color: #0f1f3d;
}

.cookie-banner-body {
  margin-bottom: 20px;
}

.cookie-banner-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 16px;
}

.cookie-banner-categories {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.cookie-category {
  margin-bottom: 20px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-category-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 500;
  color: #0f1f3d;
}

.cookie-category-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #0f1f3d;
  flex-shrink: 0;
}

.cookie-category-checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-category-name {
  font-size: 0.9375rem;
  font-weight: 500;
}

.cookie-category-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  margin-left: 32px;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-banner-custom-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.cookie-btn {
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1.4;
  white-space: nowrap;
}

.cookie-btn-minimal {
  background: transparent;
  color: #0f1f3d;
  border: 1px solid #d1d5db;
}

.cookie-btn-minimal:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.cookie-btn-customize {
  background: transparent;
  color: #0f1f3d;
  border: 1px solid #d1d5db;
}

.cookie-btn-customize:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.cookie-btn-accept {
  background: #0f1f3d;
  color: #ffffff;
  margin-left: auto;
}

.cookie-btn-accept:hover {
  background: #1a2d4d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 31, 61, 0.2);
}

.cookie-btn-save {
  background: #0f1f3d;
  color: #ffffff;
  margin-left: auto;
}

.cookie-btn-save:hover {
  background: #1a2d4d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 31, 61, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-banner-content {
    padding: 20px 16px;
  }

  .cookie-banner-title {
    font-size: 1.125rem;
    padding-right: 32px;
  }

  .cookie-banner-text {
    font-size: 0.875rem;
  }

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn-accept {
    margin-left: 0;
    order: -1;
  }

  .cookie-category-description {
    margin-left: 0;
    margin-top: 4px;
  }

  .cookie-category {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .cookie-banner-content {
    padding: 16px;
  }

  .cookie-banner-title {
    font-size: 1rem;
  }

  .cookie-btn {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
}

