.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  padding: var(--spacing-md);
  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: var(--spacing-md);
}

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

.cookie-banner-text p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

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

.cookie-banner-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.cookie-banner-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  background: none;
  font-family: inherit;
  font-size: 1rem;
  white-space: nowrap;
}

.cookie-banner-btn-accept {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.cookie-banner-btn-accept:hover {
  background-color: #1f2642;
  border-color: #1f2642;
}

.cookie-banner-btn-reject {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.cookie-banner-btn-reject:hover {
  background-color: var(--color-bg);
}

.cookie-banner-btn-customize {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.cookie-banner-btn-customize:hover {
  border-color: var(--color-primary);
  background-color: var(--color-bg);
}

.cookie-preferences {
  max-width: 1200px;
  margin: var(--spacing-md) auto 0;
  padding: var(--spacing-lg);
  background-color: var(--color-bg);
  border-radius: 8px;
}

.cookie-preferences-content h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

.cookie-preferences-content > p {
  margin-bottom: var(--spacing-lg);
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.cookie-category {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
  background-color: var(--color-white);
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.cookie-category-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

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

.cookie-category-header input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-category-header label {
  cursor: pointer;
  flex: 1;
  color: var(--color-text);
}

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

.cookie-category-desc {
  margin: 0;
  padding-left: 32px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-preferences-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

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

  .cookie-banner-btn {
    width: 100%;
  }

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

  .cookie-category-desc {
    padding-left: 0;
    margin-top: var(--spacing-xs);
  }
}