/* Shared cookie consent banner (Guidalia.Web.Shared).
   Imported by each host app: <link rel="stylesheet" href="_content/Guidalia.Web.Shared/css/consent.css" />

   Every text-bearing selector declares its own colour (#210): the copy lives in <p>/<label>
   elements, and a host stylesheet's bare element rules (e.g. Creator Studio's `p { color }`)
   would otherwise beat the inherited banner colour. Never use `inherit` here; a host that wants
   a themed banner overrides these selectors with more specific ones in its own stylesheet.
   The three .consent-btn actions must stay identically styled (GDPR equal prominence). */

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  margin: 0 auto;
  max-width: 640px;
  width: calc(100% - 2rem);
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  line-height: 1.4;
}

.consent-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
}

.consent-body {
  margin: 0 0 0.75rem;
  color: #1a1a1a;
}

.consent-links {
  margin: 0 0 1rem;
  display: flex;
  gap: 1rem;
  color: #1a1a1a;
}

.consent-links a {
  color: #1a1a1a;
  text-decoration: underline;
}

.consent-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: #1a1a1a;
  padding: 0.25rem;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.consent-customize {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.consent-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1a1a1a;
}

/* All action buttons share one style: no single choice is visually favored. */
.consent-btn {
  flex: 1 1 auto;
  min-width: 8rem;
  padding: 0.6rem 1rem;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.consent-btn:hover {
  opacity: 0.85;
}

.consent-reopen {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 2147482999;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  background: #ffffff;
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
  .consent-banner {
    width: calc(100% - 1rem);
    padding: 1rem;
  }

  .consent-btn {
    min-width: 0;
    flex: 1 1 100%;
  }
}
