/* empty-states.css — placeholder "stato vuoto" dei pannelli sidebar (B1).
 * Theme-aware: usa solo i token di app.css, che sono gia' definiti sia in
 * :root[data-theme="dark"] sia in @media(prefers-color-scheme:dark). Nessun
 * colore hardcoded, l'icona eredita currentColor. */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    min-height: 200px;
    padding: 32px 18px;
    color: var(--text-secondary);
}

.empty-state__icon {
    width: 44px;
    height: 44px;
    color: var(--text-dim);
    opacity: .85;
}
.empty-state__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.empty-state__title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.empty-state__body {
    margin: 0;
    max-width: 34ch;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.empty-state__cta {
    margin-top: 2px;
    padding: 4px 6px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent-text);  /* a11y: token accent-as-text (dark #7aa6ff) → contrasto AA anche in dark */
    background: none;
    border: none;
    border-radius: var(--r-sm);
    cursor: pointer;
}
.empty-state__cta:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}
.empty-state__cta:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
