/* ============================================================
   Pollaroo shared brand styles (Pollaroo.Web.Shared RCL, ADO #549)
   Consumed by BOTH Admin.Web and Pollaroo.Web -- keep it thin.
   Token var() references resolve to each site's colors.css when
   defined; the fallbacks keep the badge legible on sites that do
   not define that token.
   ============================================================ */

/* === ENVIRONMENT BADGE (lifted from Admin.Web site.css) === */

.env-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm, 4px);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: 0.75rem;
    box-shadow: var(--shadow-sm, 0 2px 4px rgba(0, 0, 0, 0.2));
}

.env-badge-dev {
    background-color: var(--success, #4caf50);
    color: white;
}

.env-badge-test {
    background-color: var(--warning, #ff9800);
    color: var(--text-on-primary, #1a1d20);
}

.env-badge-prod {
    background-color: var(--error, #f44336);
    color: white;
}

/* Unrecognised environment name. The loudest treatment on purpose: the fallback used to be the
   green DEV badge, which told someone they were somewhere harmless when the app could not tell
   where it was. Error red plus a dashed outline so it does not read as an ordinary LIVE badge. */
.env-badge-unknown {
    background-color: var(--error, #f44336);
    color: white;
    outline: 2px dashed var(--warning, #ff9800);
    outline-offset: 2px;
}

/* === SOCIAL LINKS (_SocialLinks partial) === */

.brand-social {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
}

.brand-social a {
    color: inherit;
    opacity: 0.65;
    font-size: 1.125rem;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.15s ease-in-out;
}

.brand-social a:hover,
.brand-social a:focus-visible {
    opacity: 1;
}
