.workshop_leg_or_arm_from_the_factory * {
    box-sizing: border-box;
}

.workshop_leg_or_arm_from_the_factory .input, 
.workshop_leg_or_arm_from_the_factory .table,
.workshop_leg_or_arm_from_the_factory .output {
    height: 100%;
}

.workshop_leg_or_arm_from_the_factory .input, 
.workshop_leg_or_arm_from_the_factory .output {
    flex: 0 0 20%;
}

.workshop_leg_or_arm_from_the_factory .input {
    border-width: 0 1px 0 0;
    border-color: black;
    border-style: solid;
}

.workshop_leg_or_arm_from_the_factory .input .actuator_space, 
.workshop_leg_or_arm_from_the_factory .input .bottom_space {
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: 90% 90%;
    background-position: center;
    background-repeat: no-repeat;
}

.workshop_leg_or_arm_from_the_factory .input .actuator_space {
    background-image: url('/img/in_actuator_space.png');
    border-width: 0 0 1px 0;
    border-color: black;
    border-style: solid;
}

.workshop_leg_or_arm_from_the_factory .input .actuator_space .actuator {
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.workshop_leg_or_arm_from_the_factory .nb {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
}

.workshop_leg_or_arm_from_the_factory .input .actuator_space.present .actuator {
    background-image: url('/img/in_actuator.png');
}

.workshop_leg_or_arm_from_the_factory .input .bottom_space {
    position: relative;
}

.workshop_leg_or_arm_from_the_factory.leg .input .bottom_space {
    background-image: url('/img/in_foot_space.png');
}

.workshop_leg_or_arm_from_the_factory.right-arm .input .bottom_space {
    background-image: url('/img/in_right-hand_space.png');
}

.workshop_leg_or_arm_from_the_factory.left-arm .input .bottom_space {
    background-image: url('/img/in_left-hand_space.png');
}

.workshop_leg_or_arm_from_the_factory .input .bottom_space .bottom_manufacturing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 85%;
}

.workshop_leg_or_arm_from_the_factory.leg .input .bottom_space.present .bottom_manufacturing {
    background-image: url('/img/in_foot.png');
}

.workshop_leg_or_arm_from_the_factory.left-arm .input .bottom_space.present .bottom_manufacturing {
    background-image: url('/img/in_left-hand.png');
}

.workshop_leg_or_arm_from_the_factory.right-arm .input .bottom_space.present .bottom_manufacturing {
    background-image: url('/img/in_right-hand.png');
}

.workshop_leg_or_arm_from_the_factory .table {
    flex: 1;
    position: relative;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 80%;
}

.workshop_leg_or_arm_from_the_factory.leg .table {
    background-image: url('/img/table_leg.png');
}

.workshop_leg_or_arm_from_the_factory.left-arm .table {
    background-image: url('/img/table_left-arm.png');
}

.workshop_leg_or_arm_from_the_factory.right-arm .table {
    background-image: url('/img/table_right-arm.png');
}

.workshop_leg_or_arm_from_the_factory .table .top,
.workshop_leg_or_arm_from_the_factory .table .middle,
.workshop_leg_or_arm_from_the_factory .table .bottom,
.workshop_leg_or_arm_from_the_factory .table .push {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.workshop_leg_or_arm_from_the_factory .table .top.present {
    background-image: url('/img/table_leg_or_arm_top.png');
}

.workshop_leg_or_arm_from_the_factory .table .middle.present {
    background-image: url('/img/table_leg_or_arm_middle.png');
}

.workshop_leg_or_arm_from_the_factory.leg .table .bottom.present {
    background-image: url('/img/table_leg_bottom.png');
}

.workshop_leg_or_arm_from_the_factory.left-arm .table .bottom.present {
    background-image: url('/img/table_left-hand_bottom.png');
}

.workshop_leg_or_arm_from_the_factory.right-arm .table .bottom.present {
    background-image: url('/img/table_right-hand_bottom.png');
}

.workshop_leg_or_arm_from_the_factory .table .push {
    height: 20%;
}

.workshop_leg_or_arm_from_the_factory .output {
    display: flex;
    flex-direction: column; /* Empile les éléments verticalement */
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    position: relative;
    border-width: 0 0 0 1px;
    border-color: black;
    border-style: solid;
}

.workshop_leg_or_arm_from_the_factory .output .manufacturing,
.workshop_leg_or_arm_from_the_factory .output .nb {
    width: 100%;
}

.workshop_leg_or_arm_from_the_factory.leg .output.present {
    background-image: url('/img/out_leg.png');
}

.workshop_leg_or_arm_from_the_factory.left-arm .output.present {
    background-image: url('/img/out_left-arm.png');
}

.workshop_leg_or_arm_from_the_factory.right-arm .output.present {
    background-image: url('/img/out_right-arm.png');
}

.workshop_leg_or_arm_from_the_factory span {
    background: #FFFFFF88;
    padding: 10px;
    border-radius: 20px;
}
