#contentConfigAdmin {
    position: relative;

    .innerWindow {
        .container {
            width: 870px;
        }
    }

    .header {
        .head {
            padding: 0;
        }
    }

    // Two-column layout for Sites and Categories in Roles form
    // Radio & checkbox option lists in user form
    .radio-container {
        display: flex;
        flex-direction: column;
        gap: 0;

        .formCheck {
            display: flex;
            align-items: center;
            padding: 4px 4px;
            margin-bottom: 0;
            border-radius: 6px;
            transition: background-color 0.15s ease;

            &:hover {
                background-color: var(--color-bg-gray);
            }

            .formCheckInput {
                width: 15px;
                height: 15px;
                margin: 0;
                margin-right: 8px;
                flex-shrink: 0;
                cursor: pointer;
            }

            .formCheckLabel {
                font-size: 13.5px;
                line-height: 1;
                cursor: pointer;
            }
        }
    }

    .checkbox-container {
        display: flex;
        flex-direction: column;
        gap: 0;

        .checkboxControl {
            display: flex;
            align-items: center;
            margin: 0;
            padding: 4px 4px;
            border-radius: 6px;
            font-size: 14px;
            transition: background-color 0.15s ease;

            &:hover {
                background-color: var(--color-bg-gray);
            }

            input[type="checkbox"] {
                width: 15px;
                height: 15px;
                margin: 0;
                flex-shrink: 0;
                cursor: pointer;
            }

            .checkboxControlLabel {
                font-size: 13.5px;
                margin: 0;
                padding-left: 8px;
                line-height: 1;
                cursor: pointer;
            }
        }
    }

    .rolesSysCatFrame {
        padding: 16px;
        padding-top: 45px;
        background: var(--color-white);
        border-radius: 5px;
        max-height: 450px;
        min-height: 250px;
        position: relative;
        display: flex;
        flex-direction: column;
        overflow: hidden;

        label {
            position: absolute;
            top: 0;
            left: 0;
            padding: 8px 16px;
            .widthAvailable();
            background: var(--color-white);
            z-index: 10;
        }
    }

    .rolesSysCatContainer {
        display: flex;
        flex-direction: row;
        gap: 0;
        height: 100%;
        flex: 1;
        overflow: hidden;
        position: relative;
    }

    .rolesSysCatLeft {
        width: 35%;
        border-right: 1px solid var(--color-line);
        padding-right: 8px;
        overflow-y: auto;
        position: relative;
    }

    .rolesSysCatRight {
        width: 65%;
        padding-left: 16px;
        overflow-y: auto;
        position: relative;
    }

    .rolesSysList {
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: relative;
    }

    .rolesSysItem {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.2s ease;

        &:hover {
            background: var(--color-bg-gray);
        }

        &.is-active {
            background: var(--color-primary);
            color: var(--color-white);
        }

        input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin: 0;
            flex-shrink: 0;
            cursor: pointer;
        }

        i {
            font-size: 18px;
            flex-shrink: 0;
        }

        span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: 500;
        }
    }
}

@import "systemas.less";

// ─── Configuración General: secciones ────────────────────────────────────────

.configGeneralBody {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 24px 32px;
}

.formCheckGroup {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 8px 0;

    .formCheck {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: var(--color-text, #333);
        cursor: pointer;
        white-space: nowrap;
        padding: 4px 10px;
        border-radius: 6px;
        border: 1px solid var(--color-line, #e0e0e0);
        background: var(--color-default, #fff);
        transition: background 0.15s, border-color 0.15s;

        &:hover {
            background: var(--color-bg-gray, #f5f5f5);
            border-color: var(--color-primary, #3b82f6);
        }

        input[type="checkbox"] {
            margin: 0;
            cursor: pointer;
        }
    }
}

.configSection {
    display: flex;
    flex-direction: column;
    gap: 12px;

    .configSectionHeader {
        display: flex;
        align-items: center;
        justify-content: space-between;

        h4 {
            font-size: 14px;
            font-weight: 600;
            color: var(--color-text, #1a1a2e);
            margin: 0;
        }
    }
}