
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1a1a1a;
  color: #f0f0f0;
  border-top: 3px solid #00e5ff;
  padding: 1.25rem 2rem;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.5);
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
}

.cookie-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #cccccc;
  line-height: 1.55;
  flex: 1;
}

.cookie-title {
  color: #f0f0f0;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cookie-desc {
  margin: 0;
}

.cookie-desc a {
  color: #00e5ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-desc a:hover {
  color: #00b3cc;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.625rem 1.375rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  outline: none;
}

.cookie-btn:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: 2px;
}

.cookie-btn-primary {
  background: #00e5ff;
  color: #000000;
}

.cookie-btn-primary:hover {
  background: #00b3cc;
  color: #000000;
}

.cookie-btn-secondary {
  background: transparent;
  color: #cccccc;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
  border-color: #00e5ff;
  color: #00e5ff;
}

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

.cookie-customize-modal.visible {
  display: flex;
}

.cookie-customize-content {
  background: #1a1a1a;
  color: #f0f0f0;
  border: 2px solid #00e5ff;
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-customize-header {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f0f0f0;
}

.cookie-customize-desc {
  font-size: 0.9rem;
  color: #cccccc;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-category-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #00e5ff;
}

.cookie-category-checkbox:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: 2px;
}

.cookie-category-item:has(.cookie-category-checkbox:disabled) {
  opacity: 0.6;
}

.cookie-category-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cookie-category-name {
  font-weight: 600;
  color: #f0f0f0;
  font-size: 0.95rem;
}

.cookie-category-hint {
  font-size: 0.8rem;
  color: #999999;
}

.cookie-customize-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.cookie-btn-customize-cancel {
  background: transparent;
  color: #cccccc;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 0.625rem 1.375rem;
}

.cookie-btn-customize-cancel:hover {
  border-color: #00e5ff;
  color: #00e5ff;
}

.cookie-btn-customize-save {
  background: #00e5ff;
  color: #000000;
  padding: 0.625rem 1.375rem;
}

.cookie-btn-customize-save:hover {
  background: #00b3cc;
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 1rem 1rem 1.25rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
  }

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

  .cookie-customize-modal {
    padding: 1rem;
  }

  .cookie-customize-content {
    padding: 1.5rem;
  }

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

  .cookie-btn-customize-cancel,
  .cookie-btn-customize-save {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-btn,
  .cookie-category-checkbox {
    transition: none;
  }
}

.cookie-category-item { color: #111111 !important; }
.cookie-btn-customize-save:hover { color: #ffffff !important; }

.cookie-category-item { color: #111111 !important; }
.cookie-btn-customize-save:hover { color: #ffffff !important; }
