html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
    font-family: FuenteTeclado;
}

:root {
    --color-primario: #019a95;
    /* Define la variable */
    --color-secundario: #373e48;
    /* Define la variable */
}

.fondoimagen {
    min-height: 100vh;
    background-color: red;
    background: url(../images/fondo.png) no-repeat;
    background-position: center;
    /* center the image */
    background-size: cover;
    /* cover the entire window */
}

.mensajelogin2002 {
    color: gray;
    font-size: 9pt;
    font-family: FuenteTeclado;
}

.subtitulologin2002 {
    color: black;
    font-size: 10pt;
}

.BOTON2022 {
    width: 200px;
    height: 50px;
    border-radius: 40px;
    background-color: var(--color-primario);
    border: none;
    font-size: 15px;
    color: white;
    font-weight: 700;
}

.BOTON2022:hover {
    background-color: var(--color-secundario);
}



.fondocasilla {
    /*display: block;*/
    font-size: 20px;
    font-family: FuenteTeclado;
    font-weight: 400;
    color: #444;
    line-height: 1.3;
    padding: .4em 1.4em .3em .8em;
    width: 100%;
    box-sizing: border-box;
    margin: 10px;
    border: 1px solid #aaa;
    box-shadow: 0 1px 0 1px rgba(0, 0, 0, .03);
    border-radius: .9em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
}

.fondocasilla:hover {
    border-color: #888;
}

.fondocasilla:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: #222;
    outline: none;
}

#sidebar-nav {
    width: 160px;
}

.titulopagina {
    font-size: 25pt;
    font-weight: 700;
}

.botontitulo {
    width: 200px;
    height: 50px;
    border-radius: 40px;
    background-color: #39009d;
    border: none;
    font-size: 15px;
    color: white;
    font-family: FuenteTeclado;
}


.tituloventana {
    font-size: 150pt;
    color: white;
    font-family: FuenteTeclado;
    font-weight: 700;
}

.botonxcerrarventana {
    border-radius: 40px;
    background-color: transparent;
    border: none;
    font-size: 30px;
    color: white;
    font-family: FuenteTeclado;
}

.botontitulo:hover {
    background-color: #5b80c1;
}

.titulopagina {
    font-size: 15pt;
    font-weight: 900;
    font-family: FuenteTeclado;
}

.subtitulopagina {
    font-size: 11pt;
    font-weight: 900;
    font-family: FuenteTeclado;
}


@font-face {
    font-family: 'FuenteTeclado';
    src: url('../fonts/Poppins-Regular.ttf');
}


@media only screen and (max-width: 650px) {

    .fondoimagen {
        min-height: 250px;
        height: 250px;
    }

    .titulopagina {
        font-size: 15pt;
        font-weight: 700;
    }

    .botontitulo {
        font-size: 11pt;
        width: 100px;
        height: 35px;
    }
}


/*------------------------------------------------------*/

.small-box {
    border-radius: .25rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    display: block;
    margin-bottom: 20px;
    position: relative
}

.small-box>.inner {
    padding: 10px
}

.small-box>.small-box-footer {
    background: rgba(0, 0, 0, .1);
    color: rgba(255, 255, 255, .8);
    display: block;
    padding: 3px 0;
    position: relative;
    text-align: center;
    text-decoration: none;
}

.small-box>.small-box-footer:hover {
    background: rgba(0, 0, 0, .15);
    color: #fff
}

.small-box h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    padding: 0;
    white-space: nowrap
}

@media (min-width:992px) {

    .col-lg-2 .small-box h3,
    .col-md-2 .small-box h3,
    .col-xl-2 .small-box h3 {
        font-size: 1.6rem
    }

    .col-lg-3 .small-box h3,
    .col-md-3 .small-box h3,
    .col-xl-3 .small-box h3 {
        font-size: 1.6rem
    }
}

@media (min-width:1200px) {

    .col-lg-2 .small-box h3,
    .col-md-2 .small-box h3,
    .col-xl-2 .small-box h3 {
        font-size: 2.2rem
    }

    .col-lg-3 .small-box h3,
    .col-md-3 .small-box h3,
    .col-xl-3 .small-box h3 {
        font-size: 2.2rem
    }
}

.small-box p {
    font-size: 1rem
}

.small-box p>small {
    color: #f8f9fa;
    display: block;
    font-size: .9rem;
    margin-top: 5px
}

.small-box h3,
.small-box p {
    z-index: 5
}

.small-box .icon {
    color: rgba(0, 0, 0, .15);
    z-index: 0
}

.small-box .icon>i {
    font-size: 90px;
    position: absolute;
    right: 15px;
    top: 15px;
    transition: all .3s linear
}

.small-box .icon>i.fa,
.small-box .icon>i.fab,
.small-box .icon>i.far,
.small-box .icon>i.fas,
.small-box .icon>i.glyphicon,
.small-box .icon>i.ion {
    font-size: 70px;
    top: 20px
}

.small-box:hover {
    text-decoration: none
}

.small-box:hover .icon>i {
    font-size: 95px
}

.small-box:hover .icon>i.fa,
.small-box:hover .icon>i.fab,
.small-box:hover .icon>i.far,
.small-box:hover .icon>i.fas,
.small-box:hover .icon>i.glyphicon,
.small-box:hover .icon>i.ion {
    font-size: 75px
}

@media (max-width:767.98px) {
    .small-box {
        text-align: center
    }

    .small-box .icon {
        display: none
    }

    .small-box p {
        font-size: 12px
    }
}

.botonformulario {
    width: 100px;
    height: 30px;
    border-radius: 40px;
    background-color: var(--color-primario);
    border: none;
    font-size: 9pt;
    color: white;
}

.botonformulario:hover {
    background-color: var(--color-primario);
    font-size: 9pt;
    color: white;
}

.botonformulario3 {
    width: 100px;
    height: 20px;
    border-radius: 40px;
    background-color: transparent;
    border: none;
    font-size: 9pt;
    color: black;
}

.botonformulario3:hover {
    font-size: 9pt;

}

.botonformulario2 {
    width: 100px;
    height: 20px;
    border-radius: 40px;
    background-color: transparent;
    border: none;
    font-size: 9pt;
    color: var(--color-primario);
}

.botonformulario2:hover {
    font-size: 9pt;

}

.botontabla {
    width: 100px;
    height: 30px;
    border-radius: 40px;
    background-color: var(--color-primario);
    border: none;
    font-size: 10pt;
    color: white;
}

.botontabla:hover {
    background-color: #075f53;
    color: white;
}

.dropdown-menu>li>a:hover {
    background-color: var(--color-primario);
    color: white;
    background-image: none;
}

.itemlista {
    text-decoration: none;

}

.itemlista:hover {
    background-color: moccasin;
    font-weight: 600;
}

.botonactivo {
    background-color: var(--color-primario);
    color: white;
    border-radius: 40px;
    padding: 10px;
    font-weight: 600;
    font-size: 10pt;
}

.botoninactivo {
    background-color: silver;
    color: black;
    border-radius: 40px;
    padding: 10px;
    font-weight: 600;
    font-size: 10pt;
}

.titulopagina {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* -------- */

.group {
    position: relative;
    padding: 10px;
}

input {
    font-size: 12pt;
    padding: 5px;
    padding-left: 20px;
    display: block;
    width: 100%;
    outline: none;
    border: 1px solid var(--color-primario);
    border-radius: 40px;
    background: transparent;
    font-family: FuenteTeclado;
}

label {
    position: absolute;
    left: 27px;
    top: 15px;
    transition: all 0.3s ease;
    font-family: FuenteTeclado;
    font-size: 12pt;
    pointer-events: none;
}

input:focus~label,
input:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 10pt;
    color: var(--color-primario);
    left: 26px;
}


input:focus {
    border-width: 1px;
    border-color: var(--color-primario);
}

/* ---------------------------------------- */

select {
    font-size: 12pt;
    padding: 5px;
    padding-left: 10px;
    display: block;
    width: 100%;
    outline: none;
    border: 1px solid var(--color-primario);
    border-radius: 40px;
    background: transparent;
    font-family: FuenteTeclado;
}

select:focus~label,
select:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 10pt;
    color: var(--color-primario);
    left: 26px;
}


select:focus {
    border-width: 1px;
    border-color: var(--color-primario);
}


/* ---------------------------------------- */

textarea {
    font-size: 12pt;
    padding: 5px;
    padding-left: 20px;
    display: block;
    width: 100%;
    outline: none;
    border: 1px solid var(--color-primario);
    border-radius: 10px;
    background: transparent;
    font-family: FuenteTeclado;
}

textarea:focus~label,
textarea:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 10pt;
    color: var(--color-primario);
    left: 26px;
}


/* ---------------------------------------- */
/* Estilos optimizados para radio buttons */
.radio-container {
    position: relative;
    margin-top: 15px;
    padding: 15px 0;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
    padding-left: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    position: relative;
    width: 70px;
}

.radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 10px;
    /* Reducido de 24px */
    height: 30px;
    /* Reducido de 24px */
    border: 2px solid var(--color-primario);
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    margin-right: 8px;
    /* Reducido de 13px */
}

.radio-option input[type="radio"]:checked {
    background-color: var(--color-primario);
    border-color: var(--color-primario);
    height: 30px;
    width: 4px;
}

.radio-option input[type="radio"]:checked::after {
    content: "";
    display: block;
    width: 20px;
    /* Reducido de 12px */
    height: 20px;
    /* Reducido de 12px */
    background: var(--color-primario);
    border-radius: 50%;
    position: absolute;
    top: 5px;
    /* Ajustado por el nuevo tamaño */
    left: 4px;
    /* Ajustado por el nuevo tamaño */
}

.radio-option label {
    font-size: 10pt;
    /* Cambiado de 30pt a 16px */
    color: #333;
    cursor: pointer;
    font-family: FuenteTeclado;
    margin-left: 5px;
    margin-top: 8px;


    /*transform: translateY(1px);
             Pequeño ajuste de alineación vertical */
}

.radio-floating-label {
    position: absolute;
    left: 18px;
    top: -5px;
    font-size: 10pt;
    color: var(--color-primario);
    background: white;
    padding: 0 5px;
    font-family: FuenteTeclado;
    z-index: 1;
}

.letra-pequena {
    font-size: 10pt;
    color: gray;
    margin-bottom: 20px;
    font-family: FuenteTeclado;

}

.circulo {
    border-radius: 40px;
    padding: 9px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 1px solid white;
    background-color: white;
    margin-right: 10px;
    font-size: 10pt;
    color: black;
}