/*html {
  font-size: 11px;
}

@media (min-width: 768px) {
  html {
    font-size: 12px;
  }
}*/

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  /*margin-bottom: 60px;*/
}

    body.loading {
        cursor: wait !important;
    }

.loading * {
    pointer-events: none; /* Evita que los elementos sean clickeables mientras carga */
}

.btn-close {
    background: #ffffff7d var(--bs-btn-close-bg) center / 1em auto no-repeat !important;
}

.vpm-form-control-label {
    background-color: #999 !important;
    color: white !important;
}

/* SPINNER */
#spinner-overlay, #spinner-process {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #fff;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.65, 0.01, 0.35, 0.95) infinite;
    margin: auto !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/**********************/

/* ANIMACION DE UN FONTAWESOME */
.blink {
    animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}
/*******************************/

/* BORDES DE VALIDACIONES */
.modal-body {
    --bs-border-width: 2px !important;
}
    .modal-body .has-error > input {
        border-color: var(--bs-danger) !important;
        border-width: 0px !important;
    }

    .modal-body .has-error > ul {
        border-color: var(--bs-danger) !important;
        border-width: 0px !important;
    }
        .modal-body .has-error > ul > li > div > input {
            border-color: var(--bs-danger) !important;
            border-width: 1px !important;
        } 
/**************************/

/* EFECTO SHAKE */
@keyframes fa-shake {
    0% { transform: rotate(0deg); }

    20% { transform: rotate(-15deg); }

    40% { transform: rotate(15deg); }

    60% { transform: rotate(-10deg); }

    80% { transform: rotate(10deg); }

    100% { transform: rotate(0deg); }
}

.fa-shake-custom {
    display: inline-block;
    animation: fa-shake 0.5s ease-in-out infinite;
}
/****************/