/* Cookie Consent Banner Styles */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  border-top: 2px solid rgba(230, 230, 230, 0.8);
}

.cookie-consent-banner.cookie-banner-visible {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-consent-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-icon {
  font-size: 20px;
}

.cookie-consent-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin: 0;
}

.cookie-consent-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #4d4d4d;
  margin: 0;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-primary {
  background-color: #333333;
  color: white;
}

.cookie-btn-primary:hover {
  background-color: #1a1a1a;
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background-color: #e6e6e6;
  color: #333333;
}

.cookie-btn-secondary:hover {
  background-color: #d4d4d4;
}

.cookie-consent-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #4d4d4d;
}

.cookie-link {
  color: #333333;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-link:hover {
  color: #AA0000;
}

.cookie-link-separator {
  color: #bebebe;
}

/* Cookie Settings Modal */
.cookie-settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  backdrop-filter: blur(4px);
}

.cookie-settings-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 10002;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #e6e6e6;
}

.cookie-settings-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #333333;
  margin: 0;
}

.cookie-settings-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #4d4d4d;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.cookie-settings-close:hover {
  color: #333333;
}

.cookie-settings-body {
  padding: 24px;
}

.cookie-settings-intro {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #4d4d4d;
  margin-bottom: 24px;
}

.cookie-category {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e6e6e6;
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cookie-category-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.cookie-category-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin: 0;
}

.cookie-category-badge {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}

.cookie-badge-required {
  background-color: #e6e6e6;
  color: #4d4d4d;
}

.cookie-category-description {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #4d4d4d;
  margin-bottom: 16px;
}

.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.cookie-item-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}

.cookie-item-purpose {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #4d4d4d;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #bebebe;
  transition: 0.3s;
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle-input:checked + .cookie-toggle-slider {
  background-color: #333333;
}

.cookie-toggle-input:checked + .cookie-toggle-slider:before {
  transform: translateX(24px);
}

.cookie-toggle-input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-settings-footer {
  padding: 24px;
  border-top: 1px solid #e6e6e6;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .cookie-consent-banner {
    padding: 16px;
  }

  .cookie-consent-title {
    font-size: 16px;
  }

  .cookie-consent-text {
    font-size: 12px;
  }

  .cookie-consent-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-settings-modal {
    width: 95%;
    max-height: 95vh;
  }

  .cookie-settings-header,
  .cookie-settings-body,
  .cookie-settings-footer {
    padding: 16px;
  }

  .cookie-settings-footer {
    flex-direction: column;
  }

  .cookie-settings-footer .cookie-btn {
    width: 100%;
  }
}




