

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--c-surface);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  animation: slideUp 0.3s ease-out;
}

.cookie-banner.hidden {
  display: none;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner__content {
  flex: 1;
  min-width: 0;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-fg);
  margin-bottom: var(--space-2);
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

.cookie-banner__link {
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--c-accent);
  transition: opacity 0.2s ease;
}

.cookie-banner__link:hover {
  opacity: 0.8;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-banner__btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.cookie-banner__btn--primary {
  background-color: var(--c-accent);
  color: var(--c-bg);
  border: 1px solid var(--c-accent);
}

.cookie-banner__btn--primary:hover {
  background-color: rgba(0, 212, 255, 0.9);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
}

.cookie-banner__btn--secondary {
  background-color: transparent;
  color: var(--c-fg);
  border: 1px solid var(--c-muted);
}

.cookie-banner__btn--secondary:hover {
  border-color: var(--c-fg);
  color: var(--c-accent);
}

.cookie-banner__btn--customize {
  background-color: transparent;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
}

.cookie-banner__btn--customize:hover {
  background-color: rgba(0, 212, 255, 0.1);
}

.cookie-banner__customize {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  animation: fadeIn 0.2s ease-out;
}

.cookie-banner__customize.active {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cookie-banner__modal {
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-5);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUpModal 0.3s ease-out;
}

@keyframes slideUpModal {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner__modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--c-fg);
  margin-bottom: var(--space-4);
}

.cookie-banner__categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.cookie-banner__category {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background-color: rgba(0, 212, 255, 0.05);
}

.cookie-banner__checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--c-accent);
}

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

.cookie-banner__category-name {
  font-weight: 600;
  color: var(--c-fg);
  margin-bottom: var(--space-1);
  display: block;
}

.cookie-banner__category-desc {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.4;
}

.cookie-banner__modal-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

.cookie-banner__modal-actions .cookie-banner__btn {
  flex: 1;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-banner__actions .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }

  .cookie-banner__modal {
    border-radius: 0;
    max-height: 100vh;
    padding: var(--space-4);
  }

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

  .cookie-banner__modal-actions .cookie-banner__btn {
    width: 100%;
  }
}
