.menu-category {
    margin-bottom: 20px;
    border: 1px solid #ededed;
    border-radius: 8px;
    overflow: hidden;
}

.menu-header {
    background: #f5fefe;
    padding: 12px 16px;
    font-weight: 500;
    font-size: 14px;
}

.submenu-permissions {
    padding: 12px 16px;
    background: white;
}

.select-all {
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #f5fefe;
    border-radius: 6px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.select-all label {
    font-size: 14px;
}

.select-all:hover {
    background: #e2e8f0;
}

.permission-item span {
    font-size: 14px;
}
.submenu-block {
    margin-bottom: 14px;
}

.submenu-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.submenu-actions {
    display: flex;
    gap: 20px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
}

.perm-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}

.permission-checkbox {
    transform: scale(1.15);
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 30px;
    justify-content: end;
}
