

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(16, 16, 16, 0.98), rgba(10, 10, 10, 0.99));
  border-top: 1px solid rgba(0, 229, 160, 0.2);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  font-family: var(--font-body);
  animation: slideUp 0.3s ease-out;
}

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

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

.cookie-banner-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

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

.cookie-banner-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.cookie-banner-content p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #999999;
  margin: 0;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  align-items: center;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #00e5a0;
  color: #0a0a0a;
  border: 1px solid #00e5a0;
}

.btn-primary:hover {
  background-color: #00d68f;
  border-color: #00d68f;
  box-shadow: 0 4px 12px rgba(0, 229, 160, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: #f0f0f0;
  border: 1px solid #333333;
}

.btn-outline:hover {
  background-color: rgba(0, 229, 160, 0.1);
  border-color: #00e5a0;
  color: #00e5a0;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

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

.cookie-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.cookie-modal-content {
  position: relative;
  z-index: 1;
  background-color: #111111;
  border: 1px solid #222222;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.cookie-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f0f0;
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #888888;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #00e5a0;
}

.cookie-modal-body {
  overflow-y: auto;
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-category {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

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

.cookie-category-header label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #f0f0f0;
}

.cookie-category-header label strong {
  font-weight: 600;
}

.always-on {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  background-color: rgba(0, 229, 160, 0.15);
  color: #00e5a0;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cookie-category-desc {
  font-size: 0.8rem;
  color: #666666;
  margin: 0 0 0 2.75rem;
  line-height: 1.5;
}

.cookie-modal-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid #222222;
  background-color: #0d0d0d;
}

.link-sm {
  font-size: 0.75rem;
  color: #00e5a0;
  text-decoration: none;
  transition: color 0.2s;
}

.link-sm:hover {
  color: #00d68f;
  text-decoration: underline;
}

.cookie-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .cookie-banner-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .cookie-banner-buttons .btn-sm {
    flex: 1;
  }
}

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

  .cookie-banner-inner {
    gap: 1rem;
  }

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

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

  .cookie-modal-content {
    width: 95%;
    max-height: 80%;
  }
}

.btn-primary:hover { color: #111111 !important; }
.btn-outline:hover { color: #00e5a0 !important; }
.always-on { color: #111111 !important; }


/* wh-contrast-fix */
/* Auto-injected: text color did not meet 4.5:1 against declared background. */
.btn-primary:hover { color: #111111 !important; }
.btn-outline:hover { color: #00e5a0 !important; }
.always-on { color: #111111 !important; }
.btn-outline:hover { color: #00e5a0 !important; }
.always-on { color: #111111 !important; }
