/* ===== MONITOR USERS PAGE & DIALOG - Prefix: fxmu- ===== */
/* Layout, table and pagination come from city-zones.css / pagination.css; only what is specific
   to monitor accounts lives here. */

/* ── Username, shown as a literal because it is typed verbatim at the portal ── */
.fxmu-username {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #4B3E7B;
    background: rgba(75, 62, 123, .08);
    border: 1px solid rgba(75, 62, 123, .16);
    border-radius: 6px;
    padding: 2px 7px;
}

/* ── Workspace badge ── */
.fxmu-city {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 123, 83, .12);
    border: 1px solid rgba(255, 123, 83, .28);
    color: #C6472A;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .3px;
    text-transform: uppercase;
}

/* ── "Password pending" marker on a monitor that has never set its own password ── */
.fxmu-pending {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .12);
    border: 1px solid rgba(245, 158, 11, .32);
    color: #B45309;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .3px;
    white-space: nowrap;
}

/* ── Department chips in the grid ── */
.fxmu-dept-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 320px;
}

.fxmu-dept-chip {
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(75, 62, 123, .08);
    border: 1px solid rgba(75, 62, 123, .2);
    color: #4B3E7B;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.fxmu-none {
    color: #9CA3AF;
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
}

/* ── Dialog: workspace radio group ── */
.fxmu-city-options {
    display: flex;
    gap: 10px;
}

.fxmu-city-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    border: 1px solid rgba(75, 62, 123, .18);
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    color: #374151;
    transition: all .15s;
}

.fxmu-city-option:hover {
    border-color: rgba(75, 62, 123, .4);
    background: rgba(75, 62, 123, .04);
}

.fxmu-city-selected {
    border-color: #4B3E7B;
    background: rgba(75, 62, 123, .08);
    color: #4B3E7B;
}

.fxmu-city-option input[type=radio] {
    width: 15px;
    height: 15px;
    accent-color: #4B3E7B;
    cursor: pointer;
}

/* ── Dialog: department multi-select ── */
.fxmu-dept-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
    padding: 4px;
}

.fxmu-dept-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid rgba(75, 62, 123, .18);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    transition: all .15s;
}

.fxmu-dept-item:hover {
    border-color: rgba(75, 62, 123, .4);
    background: rgba(75, 62, 123, .04);
}

.fxmu-dept-checked {
    border-color: #4B3E7B;
    background: rgba(75, 62, 123, .08);
    color: #4B3E7B;
}

.fxmu-dept-item input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: #4B3E7B;
    cursor: pointer;
}

.fxmu-dept-dot {
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .05);
}

.fxmu-empty-depts {
    padding: 14px;
    border: 1px dashed rgba(75, 62, 123, .28);
    border-radius: 10px;
    color: #6B7280;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

/* ── Dialog: active toggle ── */
.fxmu-active-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #374151;
    cursor: pointer;
}

.fxmu-active-row input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: #4B3E7B;
    cursor: pointer;
}

/* Inline hint beside a label, where .fxod-optional would force its own line. */
.fxod-optional-inline {
    font-weight: 400;
    color: #9CA3AF;
    font-size: 11px;
}
