/* Teams dashboard styles, including the owner mode of the team page. Loaded
   by teams/base.html and by team.html in owner mode (review Pass 3, #31).
   Tokens come from styles.css, loaded first. */

.badge--warn {
    background: var(--c-highlight);
    color: var(--c-highlight-text);
}
/* --- Teams dashboard (teams.inpedana.com) ------------- */
.teams-nav { margin-left: auto; display: flex; gap: var(--space-md); }
.teams-nav a { font-size: 0.875rem; color: var(--c-text-muted); }
.teams-nav a:hover { color: var(--c-primary); text-decoration: none; }
.teams-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.teams-list__item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    align-items: center;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.teams-list__item:hover {
    border-color: var(--c-accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}
.teams-list__body strong { font-size: 1.05rem; }
.teams-list__logo {
    width: 4rem; height: 4rem;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 0.25rem;
}
.teams-list__body { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.teams-list__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
/* ── Teams Dashboard: show/hide public-page sections ─────────────────── */
.module-list { list-style: none; margin: var(--space-md) 0 0; padding: 0; }
.module-list__item {
    border: 1px solid var(--c-border, #DCD8CC);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.module-list__item:hover { border-color: var(--c-accent); }
.module-list__item label {
    display: flex; align-items: center; gap: 0.6rem;
    cursor: pointer; margin: 0; font-weight: 500;
}
.module-list__item input[type="checkbox"] { width: 1.1rem; height: 1.1rem; flex: none; }
/* ── Teams Dashboard: notifications (in-app bell) ────────────────────── */
.teams-nav__bell { position: relative; }
.notif-badge {
    display: inline-block; margin-left: 0.3rem; min-width: 1.2rem;
    padding: 0 0.35rem; border-radius: 999px;
    background: var(--c-accent); color: #fff;
    font-size: 0.72rem; font-weight: 700; line-height: 1.2rem; text-align: center;
}
.notif-list { list-style: none; margin: var(--space-md) 0 0; padding: 0; }
.notif-item {
    display: flex; gap: 0.75rem; align-items: flex-start;
    border: 1px solid var(--c-border, #DCD8CC); border-radius: 8px;
    padding: 0.75rem 1rem; margin-bottom: 0.5rem;
}
.notif-item__icon { font-size: 1.3rem; line-height: 1.6rem; flex: none; }
.notif-item__body { flex: 1; }
.notif-item__text { margin: 0; }
.notif-item__meta { margin: 0.15rem 0 0; }
.squad-roster { border: 0; padding: 0; margin: 0 0 var(--space-md); }
.squad-roster legend { font-weight: 600; padding: 0; margin-bottom: 0.4rem; }
