/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.10);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--primary-600, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: var(--primary-700, #1d4ed8);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  background: var(--primary-600, #2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.cookie-btn-accept:hover {
  background: var(--primary-700, #1d4ed8);
}

.cookie-btn-decline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

.cookie-btn-decline:hover {
  border-color: #9ca3af;
  color: #374151;
}

@media (max-width: 639px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 16px;
  }

  .cookie-banner-actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn-accept,
  .cookie-btn-decline {
    width: 100%;
    justify-content: center;
  }
}
