:root {
    --custom-primary: #ab1a2d;
    --custom-secondary: #c6293e;
    --custom-primary-darker: #760f1c;
}

.navbar-vertical
    .navbar-nav
    .nav-link[data-toggle="collapse"][aria-expanded="true"]:after {
    transform: rotate(90deg);

    color: #ab1a2d;
}

.form-control:focus {
    border-color: #ab1a2d;
}

a {
    text-decoration: none;
    color: #ab1a2d;
    background-color: transparent;
}

a:hover {
    text-decoration: none;
    color: #760f1c;
}

.select2-container .select2-selection--single:focus,
.select2-container--default.select2-container--focus
    .select2-selection--multiple:focus,
.select2-container--default .select2-selection--multiple:focus,
.select2-container--default
    .select2-search--dropdown
    .select2-search__field:focus {
    color: #8898aa;
    border-color: #ab1a2d;
    outline: 0;
    background-color: #fff;
    box-shadow: 0 3px 9px rgb(50 50 9 / 0%), 3px 4px 8px rgb(94 114 228 / 10%);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #ab1a2d;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #ab1a2d;
    background-color: #ab1a2d;
    box-shadow: 0 3px 2px rgba(233, 236, 239, 0.05);
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #ab1a2d;
}
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    border-color: #ab1a2d;
    background-color: #ab1a2d;
    box-shadow: 0 3px 2px rgba(233, 236, 239, 0.05);
}

.custom-toggle-custom-default input:checked + .custom-toggle-slider {
    border-color: #ab1a2d;
}
.custom-toggle-custom-default input:checked + .custom-toggle-slider:before {
    background: #ab1a2d;
}
.custom-toggle-custom-default input:checked + .custom-toggle-slider:after {
    color: #ab1a2d;
}

.custom-toggle-custom-default input:disabled:checked + .custom-toggle-slider {
    border-color: #ab1a2d;
}
.custom-toggle-custom-default
    input:disabled:checked
    + .custom-toggle-slider:before {
    background-color: #ab1a2d;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #c6293e73;
}
.custom-radio
    .custom-control-input:disabled:checked
    ~ .custom-control-label::before {
    background: #ab1a2d;
}

.text-custom-primary {
    color: #ab1a2d !important;
}

a.text-custom-primary:hover,
a.text-custom-primary:focus {
    color: #760f1c !important;
}

.bg-custom-primary {
    background-color: #ab1a2d !important;
}
.bg-custom-secondary {
    background-color: #f4f6f6 !important;
}
a.bg-custom-primary:hover,
a.bg-custom-primary:focus,
button.bg-custom-primary:hover,
button.bg-custom-primary:focus {
    background-color: #760f1c !important;
}

.btn-custom-primary {
    color: #fff;
    border-color: #ab1a2d;
    background-color: #ab1a2d;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.btn-custom-primary:hover {
    color: #fff;
    border-color: #ab1a2d;
    background-color: #ab1a2d;
}
.btn-custom-primary:focus,
.btn-custom-primary.focus {
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08),
        0 0 0 0 rgba(94, 114, 228, 0.5);
}
.btn-custom-primary.disabled,
.btn-custom-primary:disabled {
    color: #fff;
    border-color: #ab1a2d;
    background-color: #ab1a2d;
}
.btn-custom-primary:not(:disabled):not(.disabled):active,
.btn-custom-primary:not(:disabled):not(.disabled).active,
.show > .btn-custom-primary.dropdown-toggle {
    color: #fff;
    border-color: #ab1a2d;
    background-color: #ab1a2d;
}
.btn-custom-primary:not(:disabled):not(.disabled):active:focus,
.btn-custom-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-custom-primary.dropdown-toggle:focus {
    box-shadow: none, 0 0 0 0 rgba(94, 114, 228, 0.5);
}

.badge-custom-primary {
    color: #ab1a2d;
    background-color: #c6293e73;
}
.badge-custom-primary[href]:hover,
.badge-custom-primary[href]:focus {
    text-decoration: none;

    color: #fff;
    background-color: #760f1c;
}

.card-profile-image span {
    position: absolute;
    left: 50%;
    max-width: 180px;
    transition: all 0.15s ease;
    transform: translate(-50%, -30%);
    border-radius: 0.375rem;
}

.alert.alert-success li {
    list-style: none !important;
}

.alert.alert-warning li {
    list-style: none !important;
}

.alert.alert-danger li {
    list-style: none !important;
}

.bg-custom-gradient-primary {
    background: linear-gradient(87deg, #ab1a2d 0, #c6293e 100%) !important;
}

.loading-button {
    position: relative;
}

.loading-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Blanco semitransparente */
    pointer-events: none; /* Permite que el botón aún capture eventos de clic */
}

/*Static navbar*/
@media (min-width: 1080px) {
    .sidenav,
    .navbar,
    .navbar-vertical {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
    }
    .navbar-vertical.navbar-expand-xs {
        width: 100%;
        max-width: 250px !important;
        opacity: 1 !important;
    }
    .span {
        opacity: 1 !important;
    }
}
/*Static Content*/
