/*Color principal #dd0000*/
/*******************************************************************************
*                                  [Principal]                                 *
*******************************************************************************/
* {
    font-family: 'Ubuntu', Helvetica, Arial, Lucida, sans-serif !important;
    scrollbar-color: var(--colortema) transparent;
    scrollbar-width: auto;
}

/* Esto solo soporta navegador*/
/*
::-webkit-scrollbar {
    width: .8rem;
}

::-webkit-scrollbar-track {
    border: var(--azulmedio);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(0.55turn, var(--azulclaro), var(--colortema));
    border-radius: 1rem;
    border: var(--colortema);
    border: 1px solid var(--colortema);
}*/

:root {
    --colortema: #0d1e28;
    --azulmedio: #318cb3;
    --azulfuerte: #0069b4;
    --azulclaro: #40b4e6;
    --blanco: #FFF;
    --rojo: #c70039;
    --gris-oscuro: #1d2327;
    --negro: #1e1e1e;
    --gris-texto: #f0f0f1;
    --gris-suave-fondo: #ededed;
    --letra: 'Ubuntu', Helvetica, Arial, Lucida, sans-serif;
}

:root,
:hover,
:focus,
:active {
    accent-color: var(--azulmedio);
}

::selection {
    background-color: var(--colortema);
    color: var(--blanco);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-family: var(--letra);
    margin: 0;
    width: 100%;
    height: 100dvh;
    background-color: #f0f0f1;
    overflow-x: hidden;
}

abbr {
    cursor: help;
}

h1 {
    margin: 0;
    font-size: 3rem;
}

h2 {
    margin: 0;
    font-size: 2.5rem;
}

h3 {
    margin: 0;
    font-size: 1.5rem;
}

h4,
h5,
h6 {
    margin: 0;
}

a:where(:hover, :focus) {
    text-decoration: underline;
}

svg {
    width: 1.2em;
    height: 1.2em;
}

/*******************************************************************************
  *                                 MARK:[Flex]                                 *
  *******************************************************************************/
.flex {
    display: flex;
}

.anchocompleto {
    width: 100%;
}

.caja {
    width: 80%;
}

.caja-media {
    width: 50%;
}

.caja-peque {
    width: 45%;
}

.row {
    flex-direction: row;
}

.column {
    flex-direction: column;
}

.textocentrado {
    text-align: center;
}

.centrado,
.justificado {
    justify-content: center;
    align-items: center;
}

.between {
    justify-content: space-between;
}

.alinear {
    align-items: center;
}

.supercentrado {
    align-items: center;
    justify-content: center;
}

.alturacompleta {
    height: 100%;
}

.pa01 {
    padding: .1rem;
}

.pa02 {
    padding: .2rem;
}

.pa03 {
    padding: .3rem;
}

.pa04 {
    padding: .4rem;
}

.pa05 {
    padding: .5rem;
}

.pa06 {
    padding: .6rem;
}

.pa07 {
    padding: .7rem;
}

.pa08 {
    padding: .8rem;
}

.pa09 {
    padding: .9rem;
}

.pa1 {
    padding: 1rem;
}

.pa2 {
    padding: 2rem;
}

.pa3 {
    padding: 3rem;
}

.pa4 {
    padding: 4rem;
}

.pa5 {
    padding: 5rem;
}

.gap01 {
    gap: .1rem;
}

.gap02 {
    gap: .2rem;
}

.gap03 {
    gap: .3rem;
}

.gap04 {
    gap: .4rem;
}

.gap05 {
    gap: .5rem;
}

.gap1 {
    gap: 1rem;
}

.gap2 {
    gap: 2rem;
}

.gap3 {
    gap: 3rem;
}

.gap4 {
    gap: 4rem;
}

.gap5 {
    gap: 5rem;
}

.gap6 {
    gap: 6rem;
}

.gap7 {
    gap: 7rem;
}

.gap8 {
    gap: 8rem;
}

.wrap {
    flex-wrap: wrap;
}

.no-wrap {
    flex-wrap: nowrap;
}

/*******************************************************************************
*                               MARK:[Encabezado]                              *
*******************************************************************************/


#enlaces {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-end;
    gap: 1rem;
    padding-right: .5rem;
}

#enlaces a {
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
    gap: .5rem;
    border-radius: .3rem;
    padding: 1rem .4rem;
    width: 10rem;
    height: 6rem;
}

#icono-incidencias-count {
    font-size: .6rem;
    background-color: var(--rojo);
    color: white;
    border-radius: .3rem;
    padding: .2rem;
    position: relative;
    left: -1.8rem;
    bottom: -.8rem;
    transition: .3s;
}

#num_total_incidencias {
    margin-right: -2rem;
}

#btn-lateral {
    position: fixed;
    left: 0;
    top: 0;
    border: none;
    background-color: transparent;
    width: 3rem;
    height: 3rem;
    padding-left: .5rem;
    fill: var(--gris-texto);
    z-index: 22;
}

#encabezado-lateral {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 12rem;
    height: 100%;
    background-color: var(--negro);
    position: fixed;
    left: -9rem;
    top: 0;
    box-shadow: rgba(60, 64, 67, 0.3) 2px 1px 2px 0px, rgba(60, 64, 67, 0.15) 3px 1px 3px 1px;
    transition: .3s ease-in-out;
    overflow-x: hidden;
    z-index: 20;
}

#encabezado-lateral section {
    padding-top: 3rem;
}

#encabezado-lateral.activo {
    left: 0;
}

#encabezado-lateral a {
    width: 100%;
    height: 3rem;
    gap: .5rem;
    background-color: var(--gris-oscuro);
    color: white;
    fill: white;
    text-decoration: none;
    transition: .4s;
    align-items: center;
    padding-left: 2rem;
}

#icono-incidencias-count,
b,
#encabezado-lateral a svg {
    text-decoration: none !important;
}

#encabezado-lateral #cerrar_sesion {
    background-color: var(--gris-suave-fondo);
    margin-bottom: 1rem;
}

#encabezado-lateral section a.activo {
    background-color: var(--gris-suave-fondo);
    color: var(--negro);
    fill: var(--negro);
}

#encabezado-lateral a:where(:hover, :focus) {
    background-color: var(--negro);
}

#encabezado-lateral:not(.activo) a {
    width: auto;
    padding-right: 1rem;
    margin-right: -10rem;
    padding-left: 10rem;
    gap: 2rem;
}

#encabezado-lateral:not(.activo) a span {
    transition: .1s;
    visibility: hidden;
}

#encabezado-lateral:not(.activo) a #icono-incidencias-count {
    left: -3.3rem;
}


/*******************************************************************************
*                                 MARK:[Cuerpo]                                *
*******************************************************************************/
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding-bottom: 6rem;
    transition: .3s ease-in-out;
    padding-top: 2rem;
    gap: 2rem;
}

#encabezado-lateral~main {
    padding-left: 6rem;
}

#encabezado-lateral.activo~main {
    padding-left: 24rem;
}

.blanco {
    color: #f9f9f9;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

/*Botones*/
.btn-p,
.btn-s,
.btn-t,
.btn-d {
    border: none;
    font-size: 1.4rem;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: .5rem 1rem;
    min-width: 8rem;
    cursor: pointer;
    transition: .3s;
    user-select: none;
}

.btn-p {
    background-color: var(--azulfuerte);
    color: white;
    border-radius: .3rem;
    box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2);
}

.btn-s {
    background-color: transparent;
    color: var(--azulfuerte);
    outline: 1px solid #a7c8e9d0;
    border-radius: .3rem;
}

.btn-t {
    background-color: transparent;
    color: #484848;
    font-size: 1.1rem;
    font-weight: bold;
}

.btn-d {
    color: white;
    background-color: #f05a5a;
    border-radius: .3rem;
}

.btn-p:where(:hover, :focus) {
    background-color: white;
    color: var(--negro) !important;
}


label svg {
    font-size: 1.6rem;
}

.modificar,
.azul {
    color: cornflowerblue;
}

.dorado {
    color: #F4B400 !important;
    fill: #E5A65E !important;
}

.eliminar,
.rojo {
    color: #dd0000 !important;
    fill: #dd0000 !important;
}

.resaltado {
    color: var(--azulfuerte);
}

.negro {
    color: rgba(32, 32, 32, .8) !important;
    fill: rgba(32, 32, 32, .8) !important;
}

.verde {
    color: #167c02 !important;
    fill: #167c02 !important;
}

#mensaje,
#mensaje1,
#mensaje2,
#notificar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 3rem;
    opacity: 0;
    left: -20rem;
    padding: .5rem .8rem;
    border: 1px solid #2020206b;
    border-radius: .2rem .4rem .4rem .2rem;
    color: #2f3035;
    animation-name: notificar;
    animation-duration: 10s;
    z-index: 9999;
    font-weight: bold;
}

#mensaje1 {
    top: 6rem;
}

#mensaje2 {
    top: 10rem;
}

.fichado,
.fallo,
.verificado,
.advertencia {
    background-color: whitesmoke;
}

:is(#mensaje1, #mensaje2).verificado {
    border-left: 4px solid blueviolet;
    border-bottom: 2px solid blueviolet;
}

:is(#mensaje1, #mensaje2).verificado svg {
    fill: blueviolet;
}

#mensaje svg,
:is(#mensaje1, #mensaje2) svg {
    margin-right: .5rem;
    fill: white;
    border-radius: 50%;
    padding: .1rem;
}

#mensaje.fichado {
    border-left: 4px solid #167c02;
    border-bottom: 2px solid #167c02;
}

#mensaje.fichado svg {
    background-color: #348623;
}

#mensaje.advertencia {
    border-left: 4px solid #7c5f02;
    border-bottom: 2px solid #7c5f02;
}

#mensaje.advertencia svg {
    background-color: #7c5f02;
}

#mensaje.fallo {
    border-left: 4px solid brown;
    border-bottom: 2px solid brown;
}

#mensaje.fallo svg {
    fill: brown;
}

#mensaje span,
:is(#mensaje1, #mensaje2) span {
    display: flex;
    flex-direction: row;
    align-items: center;
}

@keyframes notificar {
    0% {}

    10%,
    70% {
        left: 4rem;
        opacity: 1;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    75%,
    100% {
        left: -5rem;
        opacity: 0;
    }

}

/*beta 24w13c*/
.rotar {
    animation: rotacion 1s linear infinite;
}

.agitar {
    animation: agitar 1s linear infinite;
}

@keyframes agitar {
    40% {
        transform: rotate(20deg);
    }

    80% {
        transform: rotate(-20deg);
    }
}

@keyframes rotacion {
    to {
        transform: rotate(360deg);
    }
}

#no-hay-datos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    background-color: var(--rojo);
    color: white;
    fill: white;
    padding: .5rem;
    border-radius: .3rem;
    border: 1px solid #ccc;
    width: 12rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    user-select: none;
}

.no-seleccionable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/*Ficha cada empleado beta 0.13*/
table,
tr,
td {
    empty-cells: hide;
}


.details-empleados {
    box-shadow: rgb(0 0 0 / .1) 0px 1px 2px 0px;
    transition: .3s;

    &:where(:hover, :focus) {
        box-shadow: rgb(14 30 37 / .12) 0px 2px 4px 0px, rgb(14 30 37 / .32) 0px 2px 16px 0px;
        background-color: #ececec !important;
    }
}


/*Agregado beta 24w06b*/
.cod-emp {
    position: relative;
    top: .2rem;
    left: -1.5rem;
    font-size: 1.4rem;
    height: 2rem;
}

.cod-emp span {
    width: 2rem;
    height: 2rem;
    background-color: var(--colortema);
    color: white;
    padding: .2rem .6rem;
    border-radius: 50%;
}


.modificadoresficha {
    justify-content: flex-end;
    /*width: 15%;*/
    /*Eliminado beta 24w06b*/
    display: flex;
    /*justify-content: space-around;*/
    /*Eliminado beta 24w06b*/
    align-items: center;
    /*Agregado beta 24w06b*/
    gap: 2rem;
}

.noexiste {
    background-color: #c4c4c4;
}

.vacaciones {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 45rem;
    padding: .5rem 1rem;
    color: #202020;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    font-size: 1.4rem;
    background-color: white;
}

.vac-empleado .anotacion {
    background-color: var(--azulmedio);
}

.vac-grupo .anotacion {
    background-color: var(--azulfuerte);
}

.vac-centro .anotacion {
    background-color: var(--colortema);
}

.nombre {
    display: flex;
    width: 19rem;
    font-style: italic;
}

.fechas {
    display: flex;
    width: fit-content;
    padding: 0 .2rem;
}

.anotacion {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    background-color: whitesmoke;
    color: white;
    border-radius: .2rem;
    border: 1px solid gray;
    text-align: center;
    padding: .5rem;
    width: 4rem;
}

#eliminar {
    color: white !important;
    background-color: #d42626;
    border: none;
    cursor: pointer;
    padding: .3rem;
    transition: .3s;

    &:where(:hover, :focus) {
        box-shadow: rgb(0 0 0 / .16) 0px 10px 36px 0px, rgb(0 0 0 / .06) 0px 0px 0px 1px;
        text-decoration: underline;
    }
}

/*Incidencias*/
.men-incidencia {
    background-color: gray;
    color: white;
    font-size: 1rem;
    padding: .3rem;
    border-radius: .3rem;
    border: 1px solid black;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.incidencia-impar {
    background-color: goldenrod;
}

.incidencia-ocho- {
    background-color: #E74C3C;
}

.incidencia-ocho-mas {
    background-color: #d42626;
}

.incidencia-finde {
    background-color: var(--colortema);
}

.incidencia-no-trabajo {
    background-color: blueviolet;
}

/*Días inhábiles*/
.dias-in-entidad {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    font-size: 1.4rem;
}

.dias-in-entidad label {
    cursor: pointer;
}

.dias-in-entidad input[type="radio"] {
    display: none;
}

#label-centro,
#label-grupo,
#label-empleado,
#label-individual,
#label-masivo {
    transition: .3s;
    border-radius: .3rem;
    padding: .5rem;
}

#centro:checked~#label-centro,
#grupo:checked~#label-grupo,
#empleado:checked~#label-empleado,
#individual:checked~#label-individual,
#masivo:checked~#label-masivo {
    background-color: whitesmoke;
    color: var(--colortema);
    text-decoration: underline;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    pointer-events: none;
    cursor: default;
}

/*Agregado beta 24w19b*/
.linea {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: nowrap;
}

#calendario {
    --ancho: 80dvw;
    width: var(--ancho);
    /*Actualizado beta 25w13d*/
    height: 110dvh;
    transition: .3s;
}

.c-nombre {
    background-color: #ccc;
    color: #202020;
    text-align: center;
    font-weight: bold;
    padding: .2rem 0;
}

.c-nombre,
.c-dia {
    width: calc(var(--ancho)/7);
    border: 1px solid #c4c4c4;
}

.c-vacio {
    background-color: #ccc;
}

.c-dia {
    height: 18dvh;
    display: flex;
    flex-direction: column;
    text-align: start;
}

.c-incidencia {
    border: 1px solid #e54b3c !important;
}

.c-fds {
    background-color: #ffeccf;
}

.c-num-dia {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: fit-content;
    position: relative;
    right: .2rem;
    font-size: 1.8rem;
    color: #202020e0;
}

.c-horas-totales {
    display: flex;
    flex-direction: row;
    color: #374151;
    margin-bottom: .5rem;
}

.c-horas {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    width: 100%;
    align-items: center;
    color: var(--colortema);
}

.c-incidencia-dia {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.c-incidencia-dia svg {
    background-color: #e54b3c;
    fill: white;
    padding: .5rem;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    cursor: pointer;
}

.c-linea-horas {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: .5rem;
}

/*Dialog*/

#showdialog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(0 0 0 / .3);
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: none;
}

#dialog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    padding: 1rem 1.2rem;
    border: none;
    border-radius: .3rem;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
    gap: 0;
    opacity: 1;
    animation: .2s aparecer-arriba 1 ease-in-out;
    max-height: 90%;
}


.desaparecer-abajo {
    opacity: 1;
    margin-top: 0;
    animation: .3s desaparecer-abajo 1 ease-in-out;
}

/*Animación aparecer arriba*/
@keyframes aparecer-arriba {
    from {
        opacity: 0;
        margin-top: 5rem;
    }

    to {
        opacity: 1;
        margin-top: 0;
    }
}

/*Animación desaparecer abajo*/
@keyframes desaparecer-abajo {
    from {
        opacity: 1;
        margin-top: 0;
    }

    to {
        opacity: 0;
        margin-top: 5rem;
    }
}

.desaparecer {
    opacity: 1;
    animation: .3s desaparecer1 1 ease-in-out;
}

/*Animación aparecer*/
@keyframes aparecer {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*Animación desaparecer*/
@keyframes desaparecer1 {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


#cerrar svg {
    fill: #d42626;
    width: 1.4rem;
    height: 1.4rem;
}

#dialog fieldset {
    border-radius: .3rem;
}

#dialog fieldset legend {
    text-align: center;
}

#dialog fieldset>section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#dialog b {
    color: var(--rojo);
}

#dialog form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
}

#dialog h2 {
    font-size: 1.4rem;
    text-align: center;
}

#cerrar {
    background-color: rgb(255 255 255 / 1);
    border: none;
    fill: var(--gris);
    width: 2rem;
    height: 2rem;
    position: relative;
    top: -1.2dvh;
    right: -.8dvw;
}

#d-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: -2rem;
}

/*Agregado beta 24w20b*/
/*Crear registro*/
.c-crear-registro,
.c-editar-registro

/*Agregado beta 24w21b*/
    {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: -2.2rem;
    z-index: 2;
}

.c-crear-registro svg,
.c-editar-registro svg

/*Agregado beta 24w21b*/
    {
    background-color: #36cc9f;
    fill: white;
    padding: .5rem;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.c-editar-registro svg {
    background-color: var(--colortema);
}

/*******************************************************************************
*                                 [Formulario]                                 *
*******************************************************************************/


form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 2rem 1rem;
    border: 1px solid #ddd;
    border-radius: .3rem;
    background-color: white;
    box-shadow: rgb(0 0 0 / .08) 0px 4px 12px;
}

.sin_formato {
    padding: 0 !important;
    border: none !important;
}


input {
    font-size: 1.4rem;
    border-radius: .3rem;
    border: none;
    box-shadow: rgb(0 0 0 / .05) 0px 0px 0px 1px, rgb(209 213 219) 0px 0px 0px 1px inset;
    padding: .2rem .5rem;

    &:where(:hover, :focus) {
        border: none;
        outline: none;
    }
}

input #horario {
    padding-top: 3rem;
}

#horario,
.horas,
.opcioneshoras,
#fichaje {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    margin-top: -2rem;
}

#horario :is(table, th, td) {
    border: rgba(0, 0, 0, 0);
}

.horas {
    margin-top: -1.5rem;
}

.horas label {
    color: #202020;
}

.opcioneshoras {
    margin: 2rem 1rem;
    gap: 1rem;
}

select::-ms-expand {
    display: none;
}

select,
option {
    font-size: 1.4rem !important;

    &:hover {
        background: #dfdfdf;
        cursor: pointer;
    }
}


select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: .2rem .5rem;
    border-radius: .3rem;
    cursor: pointer;
    border: none;
    box-shadow: rgb(0 0 0 / .05) 0px 0px 0px 1px, rgb(209 213 219) 0px 0px 0px 1px inset;
    transition: .3s;
}

option {
    cursor: pointer !important;
}

label {
    color: #353535;
    font-weight: bold;
}

/*Actualizado beta 24w27c*/
.btn {
    color: white !important;
    background-color: var(--colortema);
    padding: .5rem 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: .3rem;
    transition: .5s;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    text-decoration: none;

    &:hover {
        cursor: pointer;
        background-color: var(--azulfuerte);
        box-shadow: none;
    }
}

.btn svg {
    fill: white;
}


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


#acumulaciones form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#acumulaciones form input {
    width: 4rem;
    text-align: center;
}

#acumulaciones form .empleado {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;

}

#acumulaciones :is(table, tr, td) {
    border: none;
}

.sololeer {
    background-color: #f0f0f0;
    color: lightslategray;
    cursor: not-allowed;
    border: none;
}

#acumulaciones input[type=submit] {
    width: 49%;
    background-color: #014899;
    color: white;
    border: none;
    padding: .5rem 1rem;
    cursor: pointer;
    transition: .3s;

    &:where(:hover, :focus) {
        background-color: #014899c4;
    }
}

#acumulaciones #deshabilitado {
    background-color: #cccccc;
    color: #999;
    cursor: not-allowed;
}

/*Agregado beta 25w12b*/
.deshabilitado {
    color: #999 !important;
    cursor: not-allowed !important;
}

/*Cerrarmes*/
#cerrarmes,
#cerrarmes:hover {
    text-decoration: none;
}

#cerrarmes1 {
    cursor: not-allowed;
}

.cta {
    position: relative;
    margin: auto;
    padding: 12px 18px;
    transition: all 0.2s ease;
    border: none;
    background: none;
}

.cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: #b1dae7;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.cta span {
    position: relative;
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #234567;
}

.cta svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #234567;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.cta:hover:before {
    width: 100%;
    background: #b1dae7;
}

.cta:hover svg {
    transform: translateX(0);
}

.cta:active {
    transform: scale(0.95);
}



/*Form motivos*/
#resolucion,
#horas,.horasinput {
    text-align: center;
    width: 4rem;
}

#horas,.horasinput {
    width: 6rem;
}

#menos,
#mas,
.resta,
.mas {
    z-index: 20;
    background-color: #ccc;
}

:is(#menos, #mas,.resta,.mas) svg {
    width: 1rem;
    height: 1rem;
}

#menos,.resta {
    margin-right: -1.5rem;
    border-radius: .3rem 0 0 .3rem;
}

#mas,.mas {
    margin-left: -1.5rem;
    border-radius: 0 .3rem .3rem 0;
}


/*Switch*/
.toggle-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.toggle-slot {
    font-size: 10px;
    position: relative;
    height: 3.5em;
    width: 7em;
    border: 0px solid transparent;
    border-radius: 10em;
    background-color: rgb(225, 225, 225);
    transition: background-color 250ms;
    cursor: pointer;
}

.toggle-checkbox:checked~.toggle-slot {
    background-color: #374151;
}

.toggle-button {
    transform: translate(0.3em, 0.25em);
    position: absolute;
    height: 3em;
    width: 3em;
    border-radius: 50%;
    background-color: #ffeccf;
    box-shadow: inset 0px 0px 0px 0.75em #ffbb52;
    transition: background-color 250ms, border-color 250ms, transform 500ms cubic-bezier(.26, 2, .46, .71);
}

.toggle-checkbox:checked~.toggle-slot .toggle-button {
    background-color: #485367;
    box-shadow: inset 0px 0px 0px 0.75em white;
    transform: translate(3.65em, 0.25em);
}

.sun-icon {
    position: absolute;
    height: 6em;
    width: 6em;
    color: #ffbb52;
}

.sun-icon-wrapper {
    position: absolute;
    height: 6em;
    width: 6em;
    opacity: 1;
    transform: translate(2em, 2em) rotate(15deg);
    transform-origin: 50% 50%;
    transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2, .46, .71);
}

.toggle-checkbox:checked~.toggle-slot .sun-icon-wrapper {
    opacity: 0;
    transform: translate(3em, 2em) rotate(0deg);
}

.moon-icon {
    position: absolute;
    height: 6em;
    width: 6em;
    color: white;
}

.moon-icon-wrapper {
    position: absolute;
    height: 6em;
    width: 6em;
    opacity: 0;
    transform: translate(11em, 2em) rotate(0deg);
    transform-origin: 50% 50%;
    transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2.5, .46, .71);
}

.toggle-checkbox:checked~.toggle-slot .moon-icon-wrapper {
    opacity: 1;
    transform: translate(2em, 2em) rotate(-15deg);
}

/*Agregado beta 24w25d*/
/*Exportar a pdf botón*/
#exportar-pdf,
#exportar-csv {
    font-size: 1.4rem;
    margin-top: 1rem;
    color: white;
    fill: white;
    background-color: #b30b00;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: .3rem;
    padding: .5rem;
    transition: .3s;
    border: 1px solid gray;
    font-weight: bold;
    cursor: pointer !important;
}

#exportar-csv {
    background-color: #13492c;
}

:is(#exportar-pdf, #exportar-csv) svg:nth-of-type(1) {
    z-index: 1 !important;
    margin-left: 1rem;
}

:is(#exportar-pdf, #exportar-csv) svg:nth-of-type(2) {
    margin-left: -2.6rem;
    margin-right: 1.5rem;
    z-index: 3 !important;
    fill: #00aa00;
}

#exportar-pdf:where(:focus, :hover) {
    background-color: white;
    color: #b30b00;
    box-shadow: none;
}

#exportar-pdf:where(:focus, :hover) svg:nth-of-type(1) {
    fill: #b30b00;
}


#exportar-csv:where(:focus, :hover) {
    background-color: white;
    color: #13492c;
    box-shadow: none;
}

#exportar-csv:where(:focus, :hover) svg:nth-of-type(1) {
    fill: #13492c;
}

/* Acordeones */
details {
    border: 1px solid #aaa;
    border-radius: 4px;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    max-height: 2.5em;
    /* Altura del summary más padding */
    padding: 0.5em 0.5em 0;

    &:where(:hover, :focus) {
        cursor: pointer;
    }
}

summary {
    font-weight: bold;
    margin: -0.5em -0.5em 0;
    padding: 0.5em;
}

details[open] {
    max-height: 60rem;
    padding: 0.5em;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

details[open] summary {
    border-bottom: 1px solid #aaa;
    margin-bottom: 0.5em;
}

.chk {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap:1rem;
    align-items: center;
    box-shadow: rgb(0 0 0 / .05) 0px 0px 0px 1px, rgb(209 213 219) 0px 0px 0px 1px inset;
    padding: .5rem .8rem;
    border-radius: .3rem;
    width: fit-content;
    transition: .3s;
    max-height: 2rem;
    overflow: hidden;
}
.chk input[type="checkbox"] {
    display: none;
}

.chk svg {
    overflow: visible;
}
.chk .path {
  fill: none;
  stroke: var(--azulfuerte);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
  stroke-dasharray: 241 9999999;
  stroke-dashoffset: 0;
}

.chk input:checked ~ svg .path {
  stroke-dasharray: 70.5096664428711 9999999;
  stroke-dashoffset: -262.2723388671875;
  stroke: #167c02;
}

.chk-horas{
    display: none;
}


/*******************************************************************************
*                                    [Tabla]                                   *
*******************************************************************************/
table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #ccc;
    border-radius: .5rem;
    overflow: hidden;
    font-size: 1.2rem;
}

th,
td {
    /*border: 1px solid #ccc;*/
    padding: 8px;
    border-top: 1px solid #a5a5a5;
    border-bottom: 1px solid #a5a5a5;
}

table tr :is(td, th):first-child {
    border-left: 2px solid #a5a5a5;
}

table tr :is(td, th):last-child {
    border-right: 2px solid #a5a5a5;
}

th {
    background-color: whitesmoke;
    color: #202020;

}

/* Para bordes redondeados de celdas en las esquinas */
table tr:first-child th:first-child {
    border-top-left-radius: .5rem;
}

table tr:first-child th:last-child {
    border-top-right-radius: .5rem;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: .5rem;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: .5rem;
}

table tr:first-child th {
    border-top: 2px solid #a5a5a5;
}

table tr:last-child td {
    border-bottom: 2px solid #a5a5a5;
}

thead {
    border-radius: 1rem;
}

thead tr td {
    font-weight: bold;
}

td {
    text-align: center;
    padding: .4rem;
}

tr:hover {
    background-color: rgba(26, 115, 232, .4);
}

td:hover {
    background-color: rgba(26, 115, 232, .3);
}

.par {
    background-color: #e4f0f8;
}

.impar {
    background-color: #c9dcee;
}

.nuevo {
    background-color: rgba(47, 104, 1, 0.8);
    border: 4px solid rgba(255, 215, 0, .9);
    color: white;
}

td a svg {
    color: #F4B400;
}


@keyframes vivo {
    0% {
        background-color: rgb(204, 46, 46);
    }

    50% {
        background-color: rgb(129, 24, 24);
    }

    100% {
        background-color: rgb(204, 46, 46);
    }
}

.fichadores {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    justify-content: flex-start;
    width: 11rem;
    height: 1.4rem;
    padding: 1rem;
    background-color: #f0f0f0;
    box-shadow: rgb(40 40 40 / .4) 0px 2px 4px, rgb(40 40 40 / .3) 0px 7px 13px -7px, rgba(40 40 40 / 1) 0px -70px 0px inset;
    border-radius: .5rem;
    transition: .3s;
    overflow-y: hidden;
    color: white;
    fill: var(--colortema);
    text-decoration: none;

    &:hover {
        text-decoration: none !important;
        height: 10rem;
        box-shadow: rgba(40 40 40 / .4) 0px 2px 4px, rgba(40 40 40 / .3) 0px 7px 13px -7px, rgba(40 40 40 / .8) 0px -15px 0px inset;
        color: black;
        border-radius: 0 0 .5rem .5rem;
    }
}


.fichadores svg {
    background-color: white;
    padding: 1rem;
    margin-left: -1.2rem;
    margin-top: -1.4rem;
    height: 2rem;
    transition: .3s;
    box-shadow: rgba(255, 255, 255, .5) 0px 0px 10px;
}

.fichadores:hover svg {
    margin: 0;
    height: auto;
    padding: .4rem;
    border-radius: 50%;
}

.terminal_sn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.terminal_sn span {
    margin-top: -1.4rem;
}

.fichadores:hover .terminal_sn span {
    margin-top: 0;
}

.alias {
    color: #202020;
    font-style: italic;
}

/*******************************************************************************
*                                     [Logs]                                   *
*******************************************************************************/
#logs {
    width: 80%;
    border: 1px solid gray;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

#logs :is(td, tr) {
    border: none !important;
}

#logs tr {
    transition: .2s;

    &:hover {
        background-color: rgba(100, 100, 100, .2) !important;
    }
}

#logs td:hover {
    background-color: rgba(255, 255, 255, 0) !important;
}

.log-icon {
    fill: white;
    border-radius: 50px;
    padding: .21rem .31rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.log-info .log-icon {
    background-color: #a5acb9;
}

.log-error .log-icon {
    background-color: #d42626;
}

.log-advertencia .log-icon {
    background-color: #e0b833;
}

.log-info {
    background-color: rgba(66, 111, 193, .1);
}

.log-error {
    background-color: rgba(198, 25, 54, .2);
}

.log-advertencia {
    background-color: rgba(195, 198, 25, 0.2);
}

#logs td.fecha {
    width: 12rem;
}

.fecha {
    background-color: rgba(225, 225, 225, .1);
}

.titulo,
.archivo,
.descripcion {
    text-align: left;
}

/*Agregado beta 24w12b*/
.desaparecer {
    opacity: 1;
    animation: .3s desaparecer2 1 ease-in-out;
}

/*Animación aparecer*/
@keyframes aparecer {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*Animación desaparecer*/
@keyframes desaparecer2 {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/*******************************************************************************
*                                   [Versión]                                  *
*******************************************************************************/

#muestraversion span {
    background-color: aliceblue;
    padding: .4rem;
    border-radius: .3rem;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: .5rem;
    right: 1rem;
}

footer span {
    color: #202020;
}

/*******************************************************************************
*                                 [Responsive]                                 *
*******************************************************************************/
@media (max-width:900px) {
    #cuerpo {
        margin-top: 9rem !important;
        width: auto;
        padding: 2rem 1rem;
    }
}

@media (max-width:700px) {

    h1,
    h2 {
        text-align: center;
    }

    #menu {
        height: 8rem;
        flex-direction: column;
    }

    #enlacesmenu {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        align-content: center;
        line-height: 2rem;
    }

    table,
    td,
    tr {
        font-size: .6rem;
    }

    td {
        padding: 0;
    }

    .horas {
        flex-direction: column;
        gap: 0;
    }

    .opcioneshoras {
        margin: .3rem 1rem;
    }
}