/* /cookie-consent.css */
#cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;

  display: none;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;

  padding: 14px 14px;
  border-radius: 12px;

  background: #1a3a5f;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.3;
}

#cookie-banner .cookie-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;     /* <- garante quebra de linha */
  word-break: break-word;  /* <- extra para casos “teimosos” */
  font-size: 14px;
  max-width: none;
}

#cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}

#cookie-banner .cookie-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#cookie-banner button {
  appearance: none;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

#cookie-banner button.cookie-accept {
  background: #ffffff;
  color: #0b1220;
  border-color: #ffffff;
}

#cookie-banner button:focus {
  outline: 3px solid rgba(255,255,255,.75);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
  #cookie-banner .cookie-actions {
    justify-content: stretch;
  }
  #cookie-banner button {
    width: 100%;
  }
}

