/* Vypinac - karta s ikonou, nazvem, stavem a prepinacem
   Spolecne prvky (.ItemIconBox, .Toggle, stavy .ItemOn / .ItemPending) jsou v css/style.css */

.SwitchItem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    cursor: pointer;
}

.SwitchText {
    flex: 1;
    min-width: 0;
}

.SwitchName {
    font-size: var(--item-name-fs);
    font-weight: var(--item-name-fw);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.SwitchDesc {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: var(--item-desc-fs);
    color: var(--muted);
}

/* Barevna tecka pred popisem stavu, ma barvu textu */
.SwitchDesc i {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.ItemOn .SwitchDesc {
    color: var(--accent);
}
