@import url(fonticon.css);

@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");

#contenedor_carga {
    background-color: rgba(250, 240, 245, 0.5);
    height: 100%;
    width: 100%;
    position: fixed;
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    z-index: 10000;
}

#carga {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: url("../image/pageLoader.gif") 50% 50% no-repeat rgb(249, 249, 249);
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
}

.f15 {
    font-size: 15px;
    font-weight: bold;
}

.bg-claro {
    background-color: #dbd2fa !important;
}

.bg-olive {
    background-color: #3d9970 !important;
    color: white;
}

.bg-lightblue {
    background-color: #3c8dbc !important;
    color: white;
}

label {
    font-weight: bold;
    font-size: 14px;
}

.input-form-control {
    background-color: #eaecf4 !important;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
    color: #495057;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    line-height: 1.5;
    display: block;
}

.input-form-control-inline {
    background-color: #eaecf4 !important;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
    color: #495057;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    line-height: 1.5;
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.fieldset-custom {
    border: 0.15rem solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0 1rem 1rem 1rem;
    width: 100%;
    margin: 0.5rem auto;
}

.legend-custom {
    padding: 0.2rem 0.5rem;
    background-color: #e5e7eb;
    border: 0.15rem solid #d1d5db;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.375rem;
    display: inline-block;
    width: auto;
}

/* * Clase base para el indicador de estado.
* Utiliza flexbox para alinear el círculo y el texto.
*/
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25em 0.5em;
    /* CAMBIO: Espaciado interno reducido */
    border-radius: 1em;
    /* Bordes redondeados para un look de "píldora" */
    background-color: #e9ecef;
    /* Fondo gris claro */
}

/* * Pseudo-elemento que crea el círculo de color.
    * Se inserta ANTES del texto del badge.
*/
.status-badge::before {
    content: "";
    /* Obligatorio para que se muestre el pseudo-elemento */
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    /* Lo convierte en un círculo perfecto */
    margin-right: 8px;
    /* Espacio entre el círculo y el texto */
}

/* * Clase modificadora para el estado "Activo".
    * Define los colores verdes.
*/
.status-badge.active {
    color: #1a7431;
    /* Color de texto verde oscuro */
    background-color: #d4edda;
    /* Fondo verde claro */
}

.status-badge.active::before {
    background-color: #28a745;
    /* Color del círculo verde brillante */
}

/* * Clase modificadora para el estado "Inactivo".
* Define los colores rojos.
*/
.status-badge.inactive {
    color: #721c24;
    /* Color de texto rojo oscuro */
    background-color: #f8d7da;
    /* Fondo rojo claro */
}

.status-badge.inactive::before {
    background-color: #dc3545;
    /* Color del círculo rojo brillante */
}

.btn-xs {
    padding: 0.15rem 0.4rem;
    font-size: 0.75rem;
    border-radius: 0.2rem;
}

/* WT FLOATING CLASS */

.wt-floating-container {
    background-color: #c6e8f5;
    border: 1px solid #394d74;
    position: fixed;
    z-index: 999;
    border-radius: 50%;
    bottom: 20px;
    right: 30px;
    padding: 15px;
    transition: ease 0.3s;
    animation: efecto 1.2s infinite;
}

.wt-floating-container:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.wt-floating-button {
    width: 40px;
    transition: ease 1s;
    cursor: pointer;
}

@keyframes efecto {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
    }
}