@use 'synergy-colors';
@use 'synergy-fonts';
@use 'synergy-animations';


//INPUT/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

.input-container{
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
}

:host ::ng-deep .p-inputswitch{
    margin-right: 5px;
}

:host ::ng-deep .p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider {
    background: map-get(synergy-colors.$grey, 100);
}

:host ::ng-deep .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider {
    background: map-get(synergy-colors.$grey, 300);
}

:host ::ng-deep .p-inputswitch .p-inputswitch-slider {
    background: map-get(synergy-colors.$blue, 300);
}
    
:host ::ng-deep .p-inputswitch:not(.p-disabled):hover .p-inputswitch-slider {
    background: map-get(synergy-colors.$blue, 100);
}

:host ::ng-deep .p-inputswitch.p-focus .p-inputswitch-slider{
    box-shadow: map-get(synergy-colors.$shadow, button);
}

// LABEL/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

.label{
    font-family: map-get(synergy-fonts.$text, font-family);
    font-style: map-get(synergy-fonts.$text, font-style);
    font-weight: map-get(synergy-fonts.$text, font-weight);
    font-size: map-get(synergy-fonts.$text, font-size);
    line-height: map-get(synergy-fonts.$text, line-height);
}

.disabled-label{
    color: map-get(synergy-colors.$grey, 300);
}

.label-error{
    color: map-get(synergy-colors.$error, 300);
}

.disabled-label{
    color: map-get(synergy-colors.$grey, 300);
}