/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

a {
    color: #ff7b26; /* Color para todos los enlaces */
    text-decoration: none; /* Elimina el subrayado de todos los enlaces */
}

a:hover {
    color: #e66a21; /* Color del enlace al pasar el mouse */
}

header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header .logo-link {
    color: white;
    text-decoration: none; /* Elimina el subrayado */
}

header .menu-container {
    position: relative;
}

header .menu-btn {
    background-color: #444;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

header .menu-btn:hover {
    background-color: #555;
}

/* Estilo del menú desplegable */
header .menu {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #444;
    padding: 10px;
    border-radius: 5px;
}

header .menu.active {
    display: block;
}

header .menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

header .menu ul li {
    margin: 5px 0;
}

header .menu ul li a {
    color: white;
    text-decoration: none;
}

header .menu ul li a:hover {
    color: #ddd;
}

/* Main Content */
main {
    padding: 20px;
    box-sizing: border-box; /* Asegura que el padding y el ancho se comporten correctamente */
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 5px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Form Styles */
form {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form label {
    display: block;
    margin: 10px 0 5px;
}

form input, form select, form button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    box-sizing: border-box;
}

/* Botones de formularios */
button, input[type="submit"], input[type="button"] {
    background-color: #ff7b26; /* Color de fondo de los botones */
    color: white; /* Color del texto */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px; /* Bordes redondeados */
    transition: background-color 0.3s ease; /* Transición suave al cambiar el color */
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background-color: #e66a21; /* Color de fondo al pasar el mouse */
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

/* Statistics Section */
.statistics {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.statistics p {
    font-size: 18px;
    margin: 10px 0;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    table {
        display: block; /* Oculta el diseño de tabla tradicional */
    }

    tbody {
        display: flex;
        flex-direction: column; /* Cada fila será una tarjeta */
        gap: 15px; /* Espacio entre tarjetas */
    }

    tr {
        display: grid;
        grid-template-columns: 1fr; /* 1 columna para las etiquetas y valores */
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }