.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2B2B2B;
  color: white;
  padding: 24px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
}

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

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.cookie-banner-text h3 {
  margin: 0 0 8px 0;
  font-size: 1.125rem;
  color: white;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

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

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

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

.cookie-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: #6B7B9E;
  color: white;
}

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

.cookie-btn-reject {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.05);
}

.cookie-btn-customize {
  background-color: #E89F8B;
  color: white;
}

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

.cookie-btn-secondary {
  background-color: transparent;
  color: #6B7B9E;
  border: 1px solid #6B7B9E;
}

.cookie-btn-secondary:hover {
  background-color: #6B7B9E;
  color: white;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: white;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cookie-modal-header {
  padding: 24px;
  border-bottom: 1px solid #E5E5E5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #2B2B2B;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #6B6B6B;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  color: #2B2B2B;
}

.cookie-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.cookie-category {
  margin-bottom: 24px;
}

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

.cookie-category-header {
  margin-bottom: 8px;
}

.cookie-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 500;
}

.cookie-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

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

.cookie-category-name {
  font-size: 1.0625rem;
  color: #2B2B2B;
  flex: 1;
}

.cookie-required {
  font-size: 0.75rem;
  color: white;
  background-color: #6B7B9E;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.cookie-category-description {
  font-size: 0.9375rem;
  color: #6B6B6B;
  line-height: 1.6;
  margin: 0;
  padding-left: 32px;
}

.cookie-modal-footer {
  padding: 24px;
  border-top: 1px solid #E5E5E5;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

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

  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

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

  .cookie-banner-text h3 {
    font-size: 1rem;
  }

  .cookie-banner-text p {
    font-size: 0.875rem;
  }

  .cookie-modal-content {
    max-height: 95vh;
  }

  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding: 16px;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }

  .cookie-category-description {
    padding-left: 0;
    margin-top: 8px;
  }
}
