.mr-16 {
    margin-right: 16px;
}
.m-0 {
    margin: 0;
}

.cabinet-btn {
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;   
    padding: 7px 11px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    white-space: nowrap;
    
    outline: none !important;
}
.cabinet-btn.active {
    background-color: #1a5287;
    border-color: #134473;
    color: #fff;
    box-shadow: none;
}
.cabinet-btn:hover:not([disabled]), .cabinet-btn:focus:not([disabled]) {
    border-color: #134473;
}
.cabinet-btn:active:not([disabled]){
    background-color: #a8c9e9;
}
.cabinet-btn-icon {
    padding: 0;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 7px;
}
.cabinet-btn-icon.no-outline {
    border: none;
    background: none;
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
}

.cabinet-btn-primary {
    background-color: #285283;
    border-color: #285283;
    color: #fff;
}
.cabinet-btn-primary:hover, .cabinet-btn-primary:focus {
    background-color: #19416e;
}
.cabinet-btn-primary:active {
    background-color: #134473;
}

.cabinet-btn-secondary {
    background-color: white;
    border-color: rgba(0, 0, 0, 0.1);
    color: #134473;
}


.cabinet-alert {
    display: none;
    transition: all .25s;
    padding: 16px;
    border: 2px solid #134473;
    color: #134473;

    position: fixed;
    right: 16px;
    bottom: 16px;
    margin-right: 16px;
}
.cabinet-alert.active {
    display: flex;
}
.cabinet-alert.danger {
    border-color: rgb(180, 25, 25);
    color: rgb(180, 25, 25);
}
.cabinet-alert.success {
    border-color: rgb(50, 175, 50);
    color: #134473;
}

.cabinet_form {
    display: flex;
    flex-flow: column nowrap;
    gap: 24px;
    font-size: 16px;
}
.cabinet_form-section {
    display: flex;
    flex-flow: column nowrap;
    gap: 16px;
}
.cabinet_form-section_title {
    font-size: 18px;
}
.cabinet_form-group {
    display: inline-flex;
    gap: 8px;
    flex-flow: column nowrap;
}
.cabinet_form-group.horizontal {
    flex-flow: row nowrap;
    gap: 24px;
    align-items: flex-end;
}
.cabinet_form-control {
    width: 100%;
    font-size: 14px;
    display: inline-flex;
    flex-flow: column nowrap;
    gap: 4px;
}
.cabinet_form-control label {
    margin-bottom: 0;
    font-weight: normal;
}

.cabinet_form-control.horizontal {
    flex-flow: row nowrap;
    align-items: center;
    gap: 8px;
}

.cabinet_form-control.center input {
    text-align: center;
}
.cabinet_form-control.center input::placeholder {
    text-align: center;
}

.cabinet_form-control input[type=text],
.cabinet_form-control input[type=number],
.cabinet_form-control input[type=password]{
    border-radius: 7px;
    border: 1px solid #ccc;
    background: #fff;
    color: #134473;
    min-height: 32px;
    width: 100%;
    padding: 8px 12px;
    line-height: 14px;
}
.cabinet_form-control input[type=password] {
    padding-right: 28px;
}
.cabinet_form-control input[type=text]:hover,
.cabinet_form-control input[type=number]:hover,
.cabinet_form-control input[type=password]:hover {
    border-color: #b4b4b4;
}

.cabinet_password-wrapper {
    position: relative;
}
.cabinet_password-wrapper input {
    padding-right: 28px !important;
}
.cabinet_password-wrapper button {
    position: absolute;
    right: 12px;
    top: calc(50% - 8px); /* 50% - half height */
}

.cabinet_switch-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.cabinet_switch {
    position: relative;
    height: 26px;
    width: 44px;
    min-height: 26px;
    min-width: 44px;
    margin-bottom: 0;
    display: inline-block;
}
.cabinet_switch .slider.round::before {
    content: "";
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;

    position: absolute;
    left: 4px;
    bottom: 3px;

    background-color: white;
    border-radius: 50%;
    -webkit-transition: .4s;
    transition: .4s;
}

.cabinet_switch input:checked + .slider.round:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}
.slider.round.monotone {
    background: #285283;
}
.cabinet_switch input:checked + .slider {
    background: #285283;
}
.cabinet_switch input:disabled + .slider {
    cursor: not-allowed;
    background: #ccc;
}
.cabinet_switch input[type=checkbox] {
    display: none;
}


.cabinet_checkbox-container {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.cabinet_checkbox-container label {
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}
.cabinet_checkbox-container input[type=checkbox] {
    appearance: none;
    position: relative;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border-radius: 7px;
    border: 1.5px solid #285283;
    outline: none;
    margin-top: 0;
    cursor: pointer;
}
.cabinet_checkbox-container input[type=checkbox]::after {
    content: "\f00c";
    font-family: "FontAwesome";
    font-weight: 900;
    position: absolute;
    font-size: 14px;
    overflow: hidden;
    top: -1px;
    left: -1px;
    width: 0;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabinet_checkbox-container input[type=checkbox]:checked::after {
    width: 20px;
    height: 20px;
}
.cabinet_checkbox-container input[type=checkbox]:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.cabinet_checkbox-container input[disabled] ~ label,
.cabinet_checkbox-container input[disabled] + label {
  cursor: default;
  pointer-events: none;
}

.cabinet_checkbox-container input[type=checkbox]:disabled::after {
    filter: grayscale(100%);
}

.gap-16{
    gap: 16px;
}

.cabinet_text-primary {
    color: #134473;
}