hr {
    width: 90%;
    margin: auto;
    border: 1px solid var(--colortexto);
    border-radius: 50px;
}

.contenedor {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
}

.contenedor .contenido1 {
    padding: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    border-radius: 20px;
    -webkit-box-shadow: 0 4px 10px var(--colorprimary);
    box-shadow: 0 4px 10px var(--colorprimary);
    margin: 20px;
    /* Glassmorphims */
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* ---------------- */
}

.contenedor .contenido1 .contenido1 {
    width: 90%;
    margin: auto;
}

.contenido1 h2 {
    text-align: center;
    width: 100%;
    margin: 10px auto;
    color: var(--colortexto);
}

.formulario {
    width: 100%;
    margin: 0 auto;
    max-height: 575px;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-around;
}

#Formulario {
    width: 100%;
    margin: 5px auto;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-around;
}

.maininicio .form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
}

.maininicio .form-control {
    display: block;
    padding: 0.3rem 1rem;
    font-size: 1rem;
    line-height: 1;
    height: fit-content;
    color: var(--colortexto);
    border: none;
    border-bottom: 2px solid var(--colorprimary);
    border-radius: 10px;
    transition: all 0.2s ease;
    background-color: transparent;
}

.maininicio .form-group select option {
    color: #000;
}

.maininicio .form-label {
    position: absolute;
    top: 0.5rem;
    left: 0.3rem;
    width: 100%;
    padding: 0 0.25rem;
    transition: all 0.2s ease;
    color: var(--colortexto);
    text-align: left;
    pointer-events: none;
}

.maininicio .btnolvidolaContrasena {
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    text-align: center;
    width: 100%;
}

.maininicio .btnolvidolaContrasena label {
    cursor: pointer;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    max-width: 300px;
    margin: 1.2rem auto;
}

.form-groupselect2 {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 300px;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 1.2rem auto;
}

.form-label {
    position: absolute;
    top: 0.5rem;
    left: 0.3rem;
    width: 100%;
    padding: 0 0.25rem;
    transition: all 0.2s ease;
    color: var(--colortexto);
    text-align: left;
    pointer-events: none;
    font-size: 1rem;
}

.form-groupselect2 .form-labelselect2 {
    position: absolute;
    top: -1.5rem;
    left: 0.3rem;
    width: 100%;
    padding: 0 0.25rem;
    transition: all 0.2s ease;
    color: var(--colortexto);
    text-align: left;
    pointer-events: none;
    font-size: 1rem;
    font-weight: bold;
}

.form-control {
    display: block;
    width: 300px;
    max-width: 90% !important;
    padding: 0.3rem 1rem;
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--colortexto);
    border: none;
    border-bottom: 2px solid var(--colorprimary);
    border-radius: 20px;
    transition: all 0.2s ease;
    background-color: transparent;
}

.mainrecuperar .form-control {
    width: 100%;
}

body.dark input[type="date"]::-webkit-calendar-picker-indicator,
body.dark input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
}

.form-control:focus {
    border-bottom-color: var(--colortexto);
    outline: 0;
}

.form-control:focus+.form-label,
.form-control:not(:placeholder-shown)+.form-label {
    top: -1.4rem;
    left: 0.3rem;
    font-size: 1rem;
    color: var(--colortexto);
    font-weight: bold;
}

select.form-control:not([value=""])+.form-label {
    top: -1.4rem;
    font-size: 1rem;
    color: var(--colortexto);
    font-weight: bold;
}

select.form-control {
    padding-right: 1.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16.939 7.939 12 12.879l-4.939-4.94-2.122 2.122L12 17.121l7.061-7.06z"></path></svg>') no-repeat right 0rem center;
    width: 300px;
    background-size: 1.5rem;
    border-radius: 10px;
}

select.form-control option {
    color: #000;
}

select.form-control:focus {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="transform: rotate(180deg);"><path fill="currentColor" d="M16.939 7.939 12 12.879l-4.939-4.94-2.122 2.122L12 17.121l7.061-7.06z"></path></svg>') no-repeat right 0rem center;
    background-size: 1.5rem;
    border-radius: 10px;
}

body.dark select.form-control {
    padding-right: 1.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="filter: invert(1);"><path fill="currentColor" d="M16.939 7.939 12 12.879l-4.939-4.94-2.122 2.122L12 17.121l7.061-7.06z"></path></svg>') no-repeat right 0rem center;
    background-size: 1.5rem;
    border-radius: 10px;
}

body.dark select.form-control:focus {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" style="filter: invert(1); transform: rotate(180deg);"><path fill="currentColor" d="M16.939 7.939 12 12.879l-4.939-4.94-2.122 2.122L12 17.121l7.061-7.06z"></path></svg>') no-repeat right 0rem center;
    background-size: 1.5rem;
    border-radius: 10px;
}

/* Estilo base para el checkbox */
.checkbox-estilo {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f0f0f0;
    border: 2px solid #cacece;
    border-radius: 3px;
    cursor: pointer;
    height: 20px;
    width: 20px;
    margin: 5px;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Estilo cuando el checkbox está marcado */
.checkbox-estilo:checked {
    background-color: var(--colorprimary);
    border-color: var(--colorprimary);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Estilo para el checkbox cuando se pasa el mouse por encima */
.checkbox-estilo:hover {
    border-color: var(--colorprimary);
}

/* Estilo para el label del checkbox */
.label-estilo {
    display: inline-block;
    margin-left: 10px;
    font-size: 16px;
    font-weight: bold;
    color: var(--colortexto);
    cursor: pointer;
    margin: 5px;
    transition: color 0.3s;
}

/* Cambia el color del texto cuando se pasa el mouse por encima */
.label-estilo:hover {
    color: var(--colorprimary);
}

/* Estilo cuando el checkbox está marcado */
.checkbox-estilo:checked+.label-estilo {
    color: var(--colorprimary);
    font-weight: bold;
}

/* ------------------------------------------------ */

.form-group .mostrarocultar {
    position: absolute;
    right: 0;
    bottom: 3px;
    font-family: "boxicons";
    cursor: pointer;
    border: none;
    color: var(--colortexto);
    width: 25px;
    height: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 0 20px 20px 0;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    z-index: 2;
}

.form-group .mostrarocultar::after {
    font-size: 1.5em;
    content: "\eeaa";
    text-shadow: 0 1px 1px #000;
}

.form-group .mostrarocultar.hide::after {
    font-size: 1.5em;
    content: "\ede6";
    text-shadow: 0 1px 1px #000;
}

.form-group .mostrarocultar:hover {
    text-shadow: 1px 1px 1px #000;
}

.btnCheck {
    position: absolute;
    right: -5px;
    bottom: 2px;
    font-family: "boxicons";
    cursor: pointer;
    border: none;
    background-color: var(--colorprimary);
    color: var(--colortexto);
    width: 35px;
    height: 25px;
    padding-left: 10px;
    padding-right: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 0 20px 20px 0;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    z-index: 2;
}

.btnCheck::after {
    font-size: 2em;
    content: "\ea41";
    text-shadow: 0 1px 1px #000;
}

.btnCheck:hover {
    background-color: var(--colorsecundary);
    color: #000;
}

.btnBuscar {
    position: absolute;
    right: 2px;
    top: 5px;
    font-family: "boxicons";
    cursor: pointer;
    border: none;
    background-color: var(--colorprimary);
    color: #fff;
    box-shadow: 0 2px 2px #000;
    width: 35px;
    height: 25px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 0 20px 20px 0;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    z-index: 2;
}

.btnBuscar::after {
    font-size: 1.5em;
    content: "\ebf9";
}

.btnBuscar:hover {
    background-color: #ffff00;
    color: #000;
    transform: scale(1.1);
}

/*Botones*/
.botones {
    text-align: center;
    width: 100%;
    margin: 10px auto 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
    padding: 10px 0;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    bottom: 0;
    z-index: 8;
    /* Glassmorphims */
    background: var(--botones);
    border-radius: 20px;
    /* ---------------- */
}

.botones button {
    margin: 5px;
    border: none;
    -webkit-box-shadow: 0 4px 5px var(--colorprimary);
    box-shadow: 0 4px 5px var(--colorprimary);
}

.botones button:first-child {
    margin-left: 0;
}

.botones button:last-child {
    margin-right: 0;
}

#FormInicioSesion .botones,
#FormOlvidoContrasena .botones {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.Inicio {
    width: 180px;
    height: 40px;
    overflow: hidden;
    background-color: var(--guardar);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.Inicio:after {
    font-family: "boxicons";
    content: "\eb4e";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.Inicio:hover:after {
    top: -50%;
}

.Inicio:before {
    content: "Iniciar Sesión";
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.Inicio:hover:before {
    top: 50%;
}

.botoncontra {
    width: 200px;
    height: 40px;
    overflow: hidden;
    background-color: var(--guardar);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.botoncontra:after {
    font-family: "boxicons";
    content: "\ee0c";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.botoncontra:hover:after {
    top: -50%;
}

.botoncontra:before {
    content: "Recuperar Contraseña";
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.botoncontra:hover:before {
    top: 50%;
}

.DivSubConcepto {
    display: flex;
    justify-content: center;
}

.SubConcepto {
    margin: 5px auto;
    padding: 10px;
    overflow: hidden;
    background-color: var(--colorprimary);
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    border: 4px solid #fff;
    box-shadow: 0 2px 4px #000;
    transition: all 0.5s ease;
}

.SubConcepto:hover {
    background-color: var(--colorsecundary);
    color: #000;
}

.Guardar {
    width: 90px;
    height: 40px;
    overflow: hidden;
    background-color: var(--guardar);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.Guardar:after {
    font-family: "boxicons";
    content: "\ee98";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.Guardar:hover:after {
    top: -50%;
}

.Guardar:before {
    content: "Guardar";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.Guardar:hover:before {
    top: 50%;
}

.botonrecuperar {
    width: 120px;
    height: 50px;
    overflow: hidden;
    background-color: var(--guardar);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.botonrecuperar:after {
    font-family: "boxicons";
    content: "\ee0e";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.botonrecuperar:hover:after {
    top: -50%;
}

.botonrecuperar:before {
    content: "Recuperar Inicio";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.botonrecuperar:hover:before {
    top: 50%;
}

.Subir {
    width: 130px;
    height: 40px;
    overflow: hidden;
    background-color: var(--colorprimary);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 3px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
    border: none;
    -webkit-box-shadow: 0 4px 10px var(--colorprimary);
    box-shadow: 0 4px 10px var(--colorprimary);
}

.Subir:after {
    font-family: "boxicons";
    content: "\ed4e";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.Subir:hover:after {
    top: -50%;
}

.Subir:before {
    content: "Subir";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.Subir:hover:before {
    top: 50%;
}

.Editar {
    width: 90px;
    height: 40px;
    overflow: hidden;
    background-color: var(--editar);
    cursor: pointer;
    color: #000;
    font-size: 20px;
    position: relative;
    border-radius: 50px;
    margin-left: 5px;
    margin-right: 5px;
}

.Editar:after {
    font-family: "boxicons";
    content: "\ee65";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.Editar:hover:after {
    top: -50%;
}

.Editar:before {
    content: "Editar";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.Editar:hover:before {
    top: 50%;
}

.Eliminar {
    width: 90px;
    height: 40px;
    overflow: hidden;
    background-color: var(--eliminar);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.Eliminar:after {
    font-family: "boxicons";
    content: "\eed4";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.Eliminar:hover:after {
    top: -50%;
}

.Eliminar:before {
    content: "Eliminar";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.Eliminar:hover:before {
    top: 50%;
}

.EliminarTodo {
    width: 100px;
    height: 50px;
    overflow: hidden;
    background-color: var(--colorsecundary);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.EliminarTodo:after {
    font-family: "boxicons";
    content: "\eed4";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.EliminarTodo:hover:after {
    top: -50%;
}

.EliminarTodo:before {
    content: "Eliminar Todo";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.EliminarTodo:hover:before {
    top: 50%;
}

.Imprimir,
.Imprimir2 {
    width: 90px;
    height: 40px;
    overflow: hidden;
    background-color: var(--imprimir);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.Imprimir:after,
.Imprimir2:after {
    font-family: "boxicons";
    content: "\ee7d";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.Imprimir:hover:after,
.Imprimir2:hover:after {
    top: -50%;
}

.Imprimir:before {
    content: "Imprimir";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.Imprimir2:before {
    content: "Imprimir Todos";
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.Imprimir:hover:before,
.Imprimir2:hover:before {
    top: 50%;
}

.ImprimirResumen {
    width: 90px;
    height: 40px;
    overflow: hidden;
    background-color: var(--pdf);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.ImprimirResumen:after {
    font-family: "boxicons";
    content: "\edbc";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.ImprimirResumen:hover:after {
    top: -50%;
}

.ImprimirResumen:before {
    content: "Resumen Comprobante";
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.ImprimirResumen:hover:before {
    top: 50%;
}

.grupo span button {
    background-color: transparent;
    border: none;
    margin-top: -10px;
}

.btnAgregar {
    width: 180px;
    border-radius: 30px;
    background-color: var(--guardar);
    color: #fff;
    border: none;
    padding: 2px;
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.btnAgregar:hover {
    background-color: var(--colorsecundary);
    color: #fff;
    -webkit-box-shadow: 1px 1px 0 var(--colorprimary);
    box-shadow: 1px 1px 0 var(--colorprimary);
    text-shadow: 1px 1px #000;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.VerPDF {
    width: 120px;
    height: 50px;
    overflow: hidden;
    background-color: var(--pdf);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.VerPDF:after {
    font-family: "boxicons";
    content: "\edbc";
    font-size: 35px;
    left: 50%;
    top: 50%;
    position: absolute;
    text-shadow: -1px 1px 2px #000;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.VerPDF:hover:after {
    top: -50%;
}

.VerPDF:before {
    content: "Ver PDF";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.VerPDF:hover:before {
    top: 50%;
}

.archivo {
    display: none;
}

.Enviar {
    width: 90px;
    height: 40px;
    overflow: hidden;
    background-color: var(--colorprimary);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.Enviar:after {
    font-family: "boxicons";
    content: "\ee61";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.Enviar:hover:after {
    top: -50%;
}

.Enviar:before {
    content: "Enviar";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.Enviar:hover:before {
    top: 50%;
}

.EnviarCorreo {
    width: 150px;
    height: 50px;
    overflow: hidden;
    background-color: var(--colorsecundary);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
    margin-bottom: 10px;
}

.EnviarCorreo:after {
    font-family: "boxicons";
    content: "\ee61";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.EnviarCorreo:hover:after {
    top: -50%;
}

.EnviarCorreo:before {
    content: "Enviar Correo Administrador";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.EnviarCorreo:hover:before {
    top: 50%;
}

.Confirmar {
    width: 120px;
    height: 40px;
    overflow: hidden;
    background-color: var(--guardar);
    cursor: pointer;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    font-size: 18px;
    position: relative;
    border-radius: 50px;
}

.Confirmar:after {
    font-family: "boxicons";
    content: "\ea41";
    font-size: 2.2em;
    left: 50%;
    top: 50%;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -47%);
}

.Confirmar:hover:after {
    top: -50%;
}

.Confirmar:before {
    content: "Confirmar";
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 160%;
}

.Confirmar:hover:before {
    top: 50%;
}

/*-------------------------------*/

.tabla2 {
    display: block;
    color: var(--colortexto);
    max-width: 95%;
    overflow: auto;
    padding: 5px;
    gap: 20px;
    margin: 20px auto;
    border-radius: 20px;
    /* Glassmorphims */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* ---------------- */
    -webkit-box-shadow: 0 4px 10px #3388c4;
    box-shadow: 0 4px 10px #3388c4;
}

/*Estilo Tabla Responsive*/

.table-responsive {
    overflow: auto;
    width: 95%;
    border-radius: 20px;
    border: 1px solid var(--colortexto);
    margin-bottom: 20px;
    margin-top: 10px;
}

table {
    font-family: "Arial", sans-serif;
    color: var(--colortexto);
    background-color: transparent;
    margin: auto;
    padding-top: 10px;
    font-size: 1.2em;
    width: 100% !important;
    overflow: auto !important;
    border-collapse: collapse;
    border-top: hidden;
    border-bottom: hidden;
    border-left: hidden;
    border-right: hidden;
}

table td input {
    width: 80% !important;
}

.dt-container {
    color: var(--colortexto);
}

.dt-input {
    color: var(--colortexto);
}

.dt-input option {
    background-color: var(--fondoqleditor);
}

.editor {
    border-radius: 0 0 10px 10px;
    max-height: 120px !important;
    overflow: auto !important;
    box-shadow: 0 4px 10px #3388c4 !important;
    border: none !important;
}

.editor2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 10px 10px;
    height: 200px !important;
    max-height: 500px !important;
    width: 100% !important;
    overflow: auto !important;
    box-shadow: 0 4px 10px #3388c4;
    border: none !important;
}
.editorblog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 10px 10px;
    height: 500px !important;
    max-height: 500px !important;
    width: 100% !important;
    overflow: auto !important;
    box-shadow: 0 4px 10px #3388c4;
    border: none !important;
}

.ql-editor {
    border: none !important;
    color: var(--colortexto);
    border-radius: 0 0 10px 10px;
    width: 100% !important;
    font-size: 20px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    background: var(--fondoqleditor) !important;
}

body.dark .ql-toolbar svg {
    fill: #fff !important;
}

.ql-toolbar {
    border: none !important;
    background-color: var(--fondotablaeven) !important;
    color: #fff !important;
    border-radius: 10px 10px 0 0 !important;
    width: 100% !important;
    box-shadow: 0 4px 10px #3388c4 !important;
}

table .ql-editor {
    border: none !important;
    border-radius: 10px;
    color: var(--colortexto);
    box-shadow: 0 4px 10px #3388c4 !important;
    background: var(--fondoqleditor) !important;
}

.ql-editor[data-placeholder]::before {
    color: #aaa !important;
}

.ql-fullscreen::before {
    font-family: 'boxicons';
    content: '\eacd';
    /* Ícono de pantalla completa */
    font-size: 16px;
    display: inline-block;
}

body.dark .ql-fullscreen::before {
    color: #444 !important;
}

body.dark .ql-fullscreen:hover::before {
    color: #0066CC !important;
}

.resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: blue;
    cursor: nwse-resize;
    z-index: 1000;
    border-radius: 50%;
}

.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 98vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.fullscreen-modal .modal-content {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: auto;
    border-radius: 8px;
    background: var(--gradientefondobody);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: auto;
}

.fullscreen-modal .modal-header {
    padding: 20px;
    position: absolute;
    right: 20px;
    top: 15px;
}

.fullscreen-modal .close {
    font-size: 4em;
    font-weight: bold;
    width: 40px;
    height: 40px;
    color: var(--colortexto);
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 99999999999;
    transition: all 0.3s ease;
    animation: rotate 0.5s ease-in-out;
}

.fullscreen-modal .close:hover {
    transform: scale(1.5);
}

.fullscreen-modal .modal-footer {
    position: relative;
}

.fullscreen-modal .modal-footer .close-modal2 {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8em;
    color: #fff;
    font-weight: bold;
    background: var(--colorprimary);
    padding: 5px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    z-index: 99999999999;
    transition: all 0.3s ease;
}

.fullscreen-modal .modal-footer .close-modal2:hover {
    transform: translateX(-50%) scale(1.2);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.fullscreen-modal .close::before,
.fullscreen-modal .close::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 4px;
    /* cross thickness */
    background-color: var(--colortexto);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}

.fullscreen-modal .close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.fullscreen-modal .close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.fullscreen-modal .modal-body {
    width: 90%;
    overflow-y: auto;
    margin: 10px auto;
}

.fullscreen-modal .ql-editor {
    height: 99% !important;
}

th {
    border: 1px solid #fff;
    background-color: var(--colorprimaryheader);
    color: #fff;
    font-weight: bold;
    text-align: center !important;
    padding: 10px;
}

tr {
    background-color: var(--fondotabla) !important;
}

td {
    text-align: center;
    padding: 10px;
    border: 1px solid var(--colortexto);
    margin: auto;
    color: var(--colortexto);
}

.detalle-factura {
    max-height: 120px;
    overflow: auto;
}

tr:nth-child(even) {
    background-color: var(--fondotablaeven) !important;
}

tbody tr:nth-child(even) {
    background-color: var(--fondotablaeven) !important;
}

td img {
    height: 45px;
    max-width: 100px;
    border-radius: 50%;
    overflow: hidden;
    -o-object-fit: contain;
    object-fit: contain;
    border: 4px solid #fff;
    -webkit-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
    margin-left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #fff;
}

.inputdatatable {
    background-color: #fff;
    width: 100%;
}

.btnBuscarEnTabla {
    border: none;
    -webkit-box-shadow: 0 2px 4px #000;
    box-shadow: 0 2px 2px #000;
    background-color: var(--colorprimary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2em;
    padding: 2px;
    margin: 0 5px;
    cursor: pointer;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.btnBuscarEnTabla:hover {
    background-color: #ffff00;
    color: #000;
}

.btnEliminarEnTabla {
    border: none;
    -webkit-box-shadow: 0 2px 4px #000;
    box-shadow: 0 2px 4px #000;
    background-color: var(--eliminar);
    color: #fff;
    border-radius: 50%;
    padding: 2px;
    margin: 0 5px;
    cursor: pointer;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.btnEliminarEnTabla:hover {
    background-color: #ffff00;
    color: #000;
}

.card-body table {
    width: 90% !important;
    border: none !important;
}

.card-body table td {
    border: 1px solid var(--colortexto) !important;
}

/*---------------------------------*/

@media screen and (max-width: 1135px) {
    .tabla2 {
        max-width: 90%;
        margin: 10px auto;
    }
}

@media screen and (max-width: 768px) {
    .contenedor .contenido1 {
        width: 90%;
        margin: auto;
        margin-bottom: 20px;
    }
}