/* ===== DEPARTMENT PAGE EXTRA STYLES - Prefix: fxdept- ===== */
/* Extends fxcz- (city-zones.css) — include both files */

/* ===== Code Badge ===== */
.fxdept-code-badge {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 800;
    color: #4B3E7B;
    background: rgba(75, 62, 123, 0.10);
    border: 1px solid rgba(75, 62, 123, 0.22);
    border-radius: 8px;
    padding: 3px 10px;
    letter-spacing: .3px;
}

/* ===== Delegation Badge ===== */
.fxdept-delegation-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.fxdept-deleg-yes {
    color: #059669;
    background: rgba(5, 150, 105, 0.10);
    border-color: rgba(5, 150, 105, 0.22);
}

.fxdept-deleg-no {
    color: #9CA3AF;
    background: rgba(156, 163, 175, 0.12);
    border-color: rgba(156, 163, 175, 0.22);
}

/* ===== Checkbox field in dialog ===== */
.fxdept-checkbox-field {
    margin-top: 4px;
}

.fxdept-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 12px;
    border: 2px solid rgba(75, 62, 123, 0.20);
    background: rgba(75, 62, 123, 0.04);
    transition: all 0.2s;
}

.fxdept-checkbox-label:hover {
    border-color: #4B3E7B;
    background: rgba(75, 62, 123, 0.08);
}

.fxdept-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #4B3E7B;
    flex-shrink: 0;
    cursor: pointer;
}

.fxdept-checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 700;
    font-size: 14px;
    color: #2D2350;
}

.fxdept-checkbox-hint {
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
}

/* ===== Optional label tag ===== */
.fxod-optional {
    font-size: 11px;
    font-weight: 600;
    color: #9CA3AF;
    margin-left: 4px;
}

/* Center align actions column content */
.fxcz-mudtable .fxcz-td-actions {
    text-align: center !important;
}

.fxcz-mudtable .fxcz-th-actions {
    text-align: center !important;
}