.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-top: 2px solid #E8E8E5;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 24px;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner-text {
  margin-bottom: 16px;
}

.cookie-banner-text p {
  color: #1F2937;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.cookie-banner-text a {
  color: #FF7A59;
  text-decoration: underline;
}

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

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-banner-buttons .btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cookie-banner-buttons .btn-accept {
  background-color: #FF7A59;
  color: #FFFFFF;
  border-color: #FF7A59;
}

.cookie-banner-buttons .btn-accept:hover {
  background-color: #E66949;
  border-color: #E66949;
}

.cookie-banner-buttons .btn-reject {
  background-color: transparent;
  color: #1A3A52;
  border-color: #1A3A52;
}

.cookie-banner-buttons .btn-reject:hover {
  background-color: #1A3A52;
  color: #FFFFFF;
}

.cookie-banner-buttons .btn-customize {
  background-color: transparent;
  color: #6B7280;
  border-color: #E8E8E5;
}

.cookie-banner-buttons .btn-customize:hover {
  background-color: #F5F5F0;
  border-color: #6B7280;
}

.cookie-preferences {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E8E8E5;
}

.cookie-preferences.show {
  display: block;
}

.cookie-preferences h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1A3A52;
  margin-bottom: 16px;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  margin-bottom: 8px;
  background-color: #F9FAFB;
  border-radius: 6px;
}

.cookie-category-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 4px;
}

.cookie-category-info p {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 24px;
}

.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: #E8E8E5;
  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: #FF7A59;
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
  background-color: #1A3A52;
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-preferences-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 20px 16px;
  }

  .cookie-banner-buttons {
    flex-direction: column;
  }

  .cookie-banner-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-preferences-buttons {
    flex-direction: column;
  }

  .cookie-preferences-buttons .btn {
    width: 100%;
  }
}
