/* /Pages/Tenants/TenantModules.razor.rz.scp.css */
/* FT-1 Tenant Modules — scoped layout (ADMIN-UX-01). Colours, spacing and motion are the shared
   design-system tokens; the card, list, switch, badge, skeleton and empty-state classes come from it. */

.tm-row[b-gd70t4oxh6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-5);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-border-subtle);
    transition: background var(--motion-fast) var(--motion-ease-out);
}

.tm-row:hover[b-gd70t4oxh6] {
    background: var(--color-background-sunken);
}

.tm-row:last-of-type[b-gd70t4oxh6] {
    border-bottom: none;
}

.tm-row__text[b-gd70t4oxh6] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tm-row__name[b-gd70t4oxh6] {
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.tm-row__description[b-gd70t4oxh6] {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.tm-row__chips[b-gd70t4oxh6] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    margin-top: var(--space-2);
}

.tm-row__switch[b-gd70t4oxh6] {
    padding-top: 4px;
    flex: 0 0 auto;
}

.tm-row__switch .switch[b-gd70t4oxh6] {
    width: 36px;
    height: 20px;
}

.tm-row__switch .switch[b-gd70t4oxh6]::after {
    width: 16px;
    height: 16px;
}

.tm-row__switch .switch:checked[b-gd70t4oxh6]::after {
    transform: translateX(16px);
}

.tm-row__switch .switch:disabled[b-gd70t4oxh6] {
    cursor: not-allowed;
    opacity: 0.55;
}

.tm-messages[b-gd70t4oxh6] {
    padding: 0 var(--space-5) var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
