.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: 0 -4px 24px rgba(45, 49, 66, 0.15);
  padding: 24px;
  z-index: 1000;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookie-banner-content {
  flex: 1;
}

.cookie-banner-title {
  font-size: 18px;
  font-weight: 600;
  color: #2D3142;
  margin-bottom: 8px;
}

.cookie-banner-text {
  font-size: 14px;
  line-height: 1.6;
  color: #5A6074;
  margin-bottom: 0;
}

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

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

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

.cookie-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: none;
  font-family: inherit;
}

.cookie-btn-accept {
  background: #FF6B6B;
  color: white;
  border-color: #FF6B6B;
}

.cookie-btn-accept:hover {
  background: #E85555;
  border-color: #E85555;
}

.cookie-btn-reject {
  background: transparent;
  color: #2D3142;
  border-color: #E8EBF0;
}

.cookie-btn-reject:hover {
  border-color: #5A6074;
}

.cookie-btn-customize {
  background: transparent;
  color: #5B5FD8;
  border-color: #5B5FD8;
}

.cookie-btn-customize:hover {
  background: #5B5FD8;
  color: white;
}

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

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

.cookie-preferences-title {
  font-size: 16px;
  font-weight: 600;
  color: #2D3142;
  margin-bottom: 16px;
}

.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #FAFBFC;
  border-radius: 8px;
  margin-bottom: 12px;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-toggle input[type="checkbox"] {
  width: 44px;
  height: 24px;
  appearance: none;
  background: #E8EBF0;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-toggle input[type="checkbox"]:checked {
  background: #FF6B6B;
}

.cookie-toggle input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  top: 2px;
  left: 2px;
  transition: left 0.2s ease;
}

.cookie-toggle input[type="checkbox"]:checked::before {
  left: 22px;
}

.cookie-category-info {
  flex: 1;
}

.cookie-category-name {
  font-size: 14px;
  font-weight: 600;
  color: #2D3142;
  margin-bottom: 4px;
}

.cookie-category-desc {
  font-size: 13px;
  color: #5A6074;
  line-height: 1.5;
  margin: 0;
}

.cookie-category-required {
  font-size: 12px;
  color: #8B93A8;
  font-style: italic;
  margin-top: 4px;
  display: block;
}

.cookie-preferences-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}

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

  .cookie-banner-container {
    gap: 16px;
  }

  .cookie-banner-title {
    font-size: 16px;
  }

  .cookie-banner-text {
    font-size: 13px;
  }

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

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

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

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