/* Estilos globales para la aplicación */
html {
    background-color: #353535;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    color: white;
}

* {
    margin: 0px;
}

h2 {
    font-size: 18px;
}


/* Estilos de formulario */

.process {
    display: block;
}

.process a:link {
    color: cyan;
}

.process a:visited {
    color: cyan;
}

.process-inline {
    display: inline;
}

/* Estilos para el enlace que parece un botón */
a.button-like {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0074d9;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    margin: 5px;
}

h3 {
    padding-bottom: 18px;
}

/* Estilos para barra de menús */
#menuBar {
    background-color: #202020;
    height: 30px;
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 2;
}

#menuSpacer {
    height: 30px;
    width: 100%;
}

/* Estilos para los botones */
.tab-button {
    background-color: dimgray;
    font-weight: bolder;
    color: #fff;
    border: none;
    margin: 0px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.5s;
    border-top-right-radius: 10px;
}

.menuButton {
    background-color: #202020;
    border: none;
    color: white;
    position: relative;
    top: 0px;
    overflow: hidden;
    padding: 2px 5px;
    height: 30px;
    float: left;
    text-align: center;
    vertical-align: middle;
    font-size: 12.0pt;
}

.menuButton:hover {
    background-color: #2D50E2;
}

#resetButton:hover {
    background-color: #F00000;
}

#resetButton:active {
    background-color: #D00000;
}

.dropbtn {
    background-color: #202020;
    color: white;
    padding: 2px 5px;
    font-size: 12.0pt;
    text-align: center;
    vertical-align: middle;
    border: none;
    height: 30px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #2D50E2;
}

.dropdown:active .dropbtn {
    background-color: #1D40C2; 
}

.submenubtn {
    cursor: pointer;
    text-align: left;
    background-color: #f1f1f1;
    min-width: 160px;
    color: black;
    padding: 12px 16px;
    border: none;
    text-decoration: none;
    display: block;
}

.submenubtn:hover {
    background-color: #ddd;
}

/* Estilos para la pestaña activa */
.tab-button.active {
    background-color: #fff;
    color: #000;
    transition: background-color 0.5s;
}

.tab-button:hover {
    background-color: #d90000;
    color: #fff;
}


.box {
    display: block;
    float: left;
    width: 390px;
    margin: 0px 10px;
}


/* Estilos para la tabla */
#bRegistros table,
th,
td {
    border: 1px solid white;
    border-collapse: collapse;
}

#bRegistros th,
td {
    padding: 8px;
}

#bRegistros tr:nth-child(even) {
    background-color: #505050;
}

#bRegistros th {
    background-color: #740000;
    color: white;
    font-weight: bold;
}
/* Estilos especiales */
#sTitulo:disabled{
    cursor: default;
    background: white;
    color: #000;
    border-color: gray;
    border-style: solid;
    border-radius: 3px;
    border-width: 1px;
}
.boxRadio{
    display: grid;
    place-items: center;
    justify-content: center;
    align-items: center;
    position: relative;
}
.boxRadio input{
    width: auto;
    min-width: 60px;
    appearance: none;
    cursor: pointer;
    padding: 6px 8px;
    margin: 1px;
    font-size: 12px;
    background-color: #505050;
    color: white;
    outline: white;
    border-radius: 5px;
}
.boxRadio input:checked {
    background-color: #0074d9;
}
.boxRadio input:before {
    content: attr(label);
    display: inline-block;
    text-align: center;
    width: 100%;
}
.hiddenButton {
    border-radius: 3px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    padding: 3px;
    border: none;
    background-color: #353535;
    color: white;
}
.hiddenButton:hover {
    cursor: pointer;
    background-color: #d90000;
}
.hiddenButton:active{
    background-color: #0074d9;
}

/* Estilos para el contenido de las pestañas */
.ventanas {
    padding: 10px;
    margin-bottom: 30px;
}

.tab-content {
    display: none;
    padding: 20px;
}

.NoVisible {
    display: none;
}

.configTXT{
    width: -webkit-fill-available;
}
#activeAlert{
    background-color: #FFD700;
    color: black;
    font-weight: bolder;
    padding: 5px;
}
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #202020;
    color: white;
    font-size: 10px;
    z-index: 2;
    padding: 5px;
}