/* ==========================================================================
   Student — "your gym paused your access" card (js/student-access-locked.js)
   ==========================================================================
   Shown when users/{uid}.gym_access_frozen carries an entry for a gym the
   student belongs to. It is a persistent informational region, not a toast:
   the whole point is that a paused student is never left staring at an empty
   dashboard wondering what happened.

   Real tokens only (--bg-elevated / --border-subtle / --text-primary /
   --accent-warning). No `opacity` on any foreground text: opacity composites
   the text against the surface before WCAG measures it, so a dimmed line can
   fail SC 1.4.3 whatever colour it started from. */

.sal-host {
    display: block;
}

.sal-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-warning);
    border-radius: var(--radius-md, 10px);
}

.sal-card + .sal-card {
    margin-top: -0.5rem;
}

.sal-card__icon {
    display: block;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-warning);
}

.sal-card__body {
    flex: 1;
    min-width: 0;
}

.sal-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
}

.sal-card__reason {
    margin: 0.5rem 0 0;
    padding: 0.5rem 0.75rem;
    border-left: 2px solid var(--border-subtle);
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-primary);
}

.sal-card__help {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

/* 320px floor: stack the icon above the copy so the text never squeezes to
   a one-word column. */
@media (max-width: 380px) {
    .sal-card {
        flex-direction: column;
        gap: 8px;
        padding: 0.875rem 1rem;
    }
}
