/* Cookie Banner Styles - Isolated */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(34, 34, 34, 0.98);
  color: #fff;
  padding: 1.2rem 1.5rem 1.2rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  display: none; /* Default hidden */
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
}
.cookie-banner.visible {
  display: flex;
}
.cookie-banner-message {
  flex: 1 1 300px;
  min-width: 200px;
  line-height: 1.6;
}
.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-banner-btn {
  /* Rimuovo override colore e background, ora solo base spacing se serve */
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    /* padding: 1.2rem 0.7rem; */
  }
  .cookie-banner-message {
    flex: initial; /* Allow message to grow */
    min-width: auto; /* Prevent overflow */
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }
}
