/* ==============================
   GDPR Consent Banner
   shared/gdpr.css
============================== */

#gdpr-banner {
  position: fixed;
  display: flex;
  flex-wrap: wrap; /* allow p and buttons to stack on small screens */
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 16px 24px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 10000;
  font-size: 0.9rem;
}

#gdpr-banner p {
  margin: 0;
  max-width: 900px;
  text-align: left;
}

#gdpr-banner a {
  color: #9bcaff;
  text-decoration: underline;
}

#gdpr-banner button {
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

#gdpr-banner button.secondary { 
  background: transparent;
  border: 1px solid #777;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

#gdpr-accept {
  background: #94c6ff;
  border: none;
  color: #000;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
}

#gdpr-accept:hover {
  background: #beddff;
}

/* ✅ fixed selector to match your HTML */
.gdpr-actions {
  display: flex;
  gap: 8px;
}

/* ===== Mobile adjustments ===== */

@media (max-width: 600px) {
  #gdpr-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  #gdpr-banner button {
    margin: 10px 0 0 0;
  }
}