.container {
    /*max-width: 900px;*/
    margin: 20px auto;
    /*padding: 20px;*/
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow-x: auto; /* Add horizontal scrollbar if needed */
    padding: 1rem;
}

body {
    font-family: Arial, sans-serif;
    font-size: small;
    background-color: #9c1111;
    margin: 0;
    padding: 0;
}

header {
    background-color: #060a13;
    color: white;
    padding: 10px 0;
    /*text-align: center;*/
    padding: 1rem;
    overflow: auto; /* Asegura que los elementos flotantes se manejen correctamente */
}

h1 {
    margin: 0;
    padding: 18px;
    font-size: medium;
    align-content: center;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

table {
    width: 100%;
    max-width: 100%; /* Ensure table doesn't exceed container width */
    border-collapse: collapse;
    margin-bottom: 20px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

th, td {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: left;
    box-sizing: border-box;
}

th {
    background-color: #f2f2f2;
    color: #333;
    text-align: center;
    font-size: medium;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Estilo de campos de entrada */
input[type="text"], input[type="date"], input[type="number"], input[type="password"], select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    min-width: 120px; /* Set minimum width for better visibility */
    padding: 12px; /* Increase padding for input fields */
}

/* Estilo del botón de envío */
input[type="submit"], button {
    background-color: #9c1111;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: small;
    transition: background-color 0.3s;
}

input[type="submit"]:hover, button:hover {
    background-color: #640b0b;
}

footer {
    background-color: #060a13;
    color: white;
    text-align: center;
    padding: 0.5rem;
    position: fixed;
    width: 100%;
    bottom: 0;
}
