html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
    background-color: #F0F0F0;
}

.custom-navbar {
    border-bottom: 1px solid #d1d1d1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 5%;
    border-radius: 10px;
}

.navbar-brand img {
    display: block;
    margin: auto;
}

.navbar {
    padding: 0.5rem 1rem;
}

.page-container {
    margin: 0 5%;
}

.logout-icon, .user-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid #d1d1d1;
    border-radius: 50%;
    background-color: #ffffff;
    color: #7c9d25;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

    .logout-icon:hover {
        background-color: lightgray;
        color: #CCFF42;
    }

    .logout-icon i {
        font-size: 16px;
    }

.custom-footer {
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 0 5%;
    min-width: 90%;
    max-width: 90%;
    width: 90%;
}

.footer-text,
.footer-links a {
    color: #333;
    text-decoration: none;
}

    .footer-links a:hover {
        text-decoration: underline;
    }


.custom-container {
    min-height: 500px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.content-wrapper {
    display: flex;
    height: 100%;
}

.left-section {
    width: 25%;
    min-height: calc(100vh - 500px);
    border-right: 1px solid #ddd;
    background-color: #f9f9f9;
}

.right-section {
    width: 75%;
    background-color: #fff;
    overflow: hidden;
}

#results {
    max-height: 50vh;  Altura máxima: 50% de la altura del viewport 
    overflow-y: auto; /* Habilita el scroll vertical cuando el contenido exceda */
    overflow-x: hidden; /* Oculta el scroll horizontal */
    min-height: 0; /* Permite que el elemento se reduzca según lo requerido */
}



.option-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: 14px;
}

    .option-icon.border {
        border-radius: 4px;
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

.dropdown-menu a {
    color: black !important;
    text-decoration: none;
}

@media (max-width: 1020px) {
    .page-container {
        margin: 0 10%;
    }

    .custom-navbar {
        margin: 0 10%;
    }

    .custom-footer {
        margin: 0 10%;
        min-width: 70%;
        max-width: 70%;
        width: 70%;
    }
}

.vertical-line-warning {
    width: 4px;
    height: 30px;
    background-color: #d99f27;
}

.vertical-line-success {
    width: 4px;
    height: 30px;
    background-color: #7c9d25;
}

.accordion-button:focus {
    box-shadow: none;
    background-color: transparent;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: inherit;
}

.form-floating-label-tab {
    position: relative;
    margin-top: 1.5rem;
    padding-top: 0.5rem;
    /* margin-bottom: 20px;*/
}

    /* Estilo general para inputs y contenedores */
    .floating-input-tab, .form-floating-label-tab .floating-checkbox-tab-container {
        border: 1px solid #ced4da;
        border-radius: 5px;
        font-size: 1rem;
        background-color: #f8f9fa;
        width: 100%;
        box-sizing: border-box;
        transition: border-color 0.3s ease;
    }

        /* Borde verde al enfocarse */
        .floating-input-tab:focus,
        .form-floating-label-tab .floating-checkbox-tab-container:focus-within {
            border-color: #7c9d25;
        }

/* Estilo de las etiquetas flotantes */
.floating-label-tab,
.floating-label-tab-checkbox {
    position: absolute;
    top: -0.8rem;
    left: 0.75rem;
    background-color: #E9ECEF;
    color: #545759;
    font-size: 0.85rem;
    padding: 0 0.5rem;
    pointer-events: none;
    border: 1px solid #ced4da;
    border-bottom: none;
    border-radius: 0.25rem 0.25rem 0 0;
    transition: all 0.3s ease-in-out;
}

/* Cambios al enfocar el input */
.floating-input-tab:focus + .floating-label-tab,
.floating-checkbox-tab:focus + .floating-label-tab-checkbox {
    font-weight: bold;
    border-color: #7c9d25;
    color: #7c9d25;
}

/* Estilo específico para el checkbox */
.floating-checkbox-tab {
    margin-top: 1rem;
    margin-left: 0.75rem;
    display: inline-block;
    width: auto;
    transition: border-color 0.3s ease;
}

.floating-checkbox-tab-container {
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
}

/* Ajuste de estilo del tab */
.form-floating-label-tab-checkbox {
    top: -10px;
    left: 10px;
    background: #f8f9fa;
    padding: 0 5px;
    font-size: 12px;
    color: #000;
}


.wrappingTextTbl {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

    .wrappingTextTbl:hover {
        text-overflow: clip;
        width: auto;
        white-space: normal;
    }


.tableNoSpacing {
    margin: 0px;
    padding: 0px;
}

    .tableNoSpacing tbody tr td {
        margin: 0px;
        padding: 0px;
        padding-left: 2px;
        padding-right: 2px;
    }

    .tableNoSpacing thead tr th {
        margin: 0px;
        padding: 0px;
        padding-left: 2px;
        padding-right: 2px;
    }


/* ----- Cambio de color success ----- */
.bg-success {
    background-color: #7c9d25 !important;
}

.text-success {
    color: #7c9d25 !important;
}

.border-success {
    border-color: #7c9d25 !important;
}

.btn-success {
    background-color: #7c9d25 !important;
    border-color: #7c9d25 !important;
}

    .btn-success:hover,
    .btn-success:focus {
        background-color: #7DA72A !important;
        border-color: #7DA72A !important;
    }

.btn-outline-success {
    color: #7c9d25 !important;
    border-color: #7c9d25 !important;
}

    .btn-outline-success:hover,
    .btn-outline-success:focus {
        background-color: #7c9d25 !important;
        color: #ffffff !important;
    }

.alert-success {
    background-color: #7c9d25 !important;
    border-color: #7c9d25 !important;
    color: #ffffff !important; /* Asegurar que el texto sea visible */
}

/* ----- Cambio de color warning ----- */
.bg-warning {
    background-color: #d99f27 !important;
    color: #ffffff !important;
}

.text-warning {
    color: #d99f27 !important;
}

.border-warning {
    border-color: #d99f27 !important;
}

.btn-warning {
    background-color: #d99f27 !important;
    border-color: #d99f27 !important;
    color: #ffffff !important;
}

    .btn-warning:hover,
    .btn-warning:focus {
        background-color: #e0a800 !important;
        border-color: #d39e00 !important;
        color: #ffffff !important;
    }

.btn-outline-warning {
    color: #d99f27 !important;
    border-color: #d99f27 !important;
}

    .btn-outline-warning:hover,
    .btn-outline-warning:focus {
        background-color: #d99f27 !important;
        color: #ffffff !important;
    }

.alert-warning {
    background-color: #d99f27 !important;
    border-color: #d99f27 !important;
    color: #ffffff !important; 
}
