@charset "utf-8";
/* Modo Oscuro con header y footer fijos */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz@8..144&display=swap");

/* Estructura base */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Roboto Flex", sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    overflow: hidden;
    /* Evita scroll en body */
}

/* Header fijo */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: #1E1E1E;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    text-transform: uppercase;
    flex-wrap: wrap;
}

header img {
    margin: 10px;
    width: 100px;
    border: 1px solid #888;
}

/* Footer fijo */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-color: #1E1E1E;
    color: #cccccc;
    display: flex;
    /* FLEXBOX */
    align-items: center;
    /* CENTRADO VERTICAL */
    justify-content: center;
    /* CENTRADO HORIZONTAL */
    padding: 0 20px;
    /* Sin padding vertical para mejor centrado */
    z-index: 1000;
    font-size: 12px;
}

footer a {
    cursor: pointer;
    color: #A5FF5F;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* Contenido desplazable */
main {
    position: absolute;
    top: 80px;
    /* altura del header */
    bottom: 40px;
    /* nueva altura del footer */
    left: 0;
    right: 0;
    overflow-y: auto;
    padding: 20px;
}

/* Contenedor innecesario para layout ahora, pero puede quedar */
#contenedor {
    width: 100%;
    height: 100%;
    display: block;
}

/* Títulos */
h1,
h2,
h3,
h5,
h6 {
    color: #A5FF5F;
    font-family: "Roboto Flex", sans-serif;
}

h2 {
    font-weight: 800;
    color: #FFB300;
    text-transform: uppercase;
}

h4 {
    margin-top: 26px;
    font-weight: 600;
    color: #FFB300;
}

/* Navegación */
#navPrincipal {
    margin-top: 5px;
    margin-right: 10px;
    max-width: 700px;
    display: flex;
    gap: 10px;
    list-style-type: none;
}

#navPrincipal li {
    padding: 10px;
    margin: 5px;
}

#navPrincipal a {
    cursor: pointer;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

#navPrincipal a:hover {
    color: #A5FF5F;
}

/* Tabla */
table,
th,
td {
    border-collapse: collapse;
    border: none;
    padding: 5px 15px;
    background-color: #1E1E1E;
    text-align: center;
    color: #e0e0e0;
}

table {
    min-width: 700px;
}

thead {
    border-bottom: 1px solid #FFB300;
    background-color: #2a2a2a;
    color: #A5FF5F;
    font-weight: normal;
}

table img {
    max-width: 100px;
}

td>input[type="button"] {
    max-width: 150px;
    font-size: 12px;
}

table tr:nth-child(odd) td {
    background-color: #2A2A2A;
}

table tr:nth-child(even) td {
    background-color: #1E1E1E;
}

/* Etiquetas */
label {
    text-transform: uppercase;
    font-size: 13px;
    color: #A5FF5F;
}

section img {
    width: 300px;
    height: auto;
}

header img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

/* Inputs */
input,
textarea,
select {
    margin: 0 10px 10px 0;
    display: block;
    min-width: 200px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
    background-color: #2a2a2a;
    border: 1.5px solid #FFB300;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Área de texto */
.textArea {
    min-height: 80px;
}

/* Botones */
input[type="button"],
button {
    background-color: #FF6F00;
    color: #ffffff;
    border: 1px solid #FF8F00;
    border-radius: 6px;
    min-width: 100px;
    height: 35px;
    text-transform: uppercase;
}

input[type="button"]:hover {
    background-color: #A5FF5F;
    border: 1px solid #D4FF00;
    color: #000000;
}

input[type="button"]:disabled {
    background-color: #555;
}