body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.container {
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="number"],
input[type="password"],
select {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-gasto input[type="text"],
.form-gasto input[type="number"],
.form-gasto input[type="password"],
.form-gasto select {
    margin-bottom: 0;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

a {
    display: block;
    text-align: center;
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn-ordenar {
    color: #fff; /* O el color que prefieras */
    text-decoration: none; /* Si no quieres subrayado */
    margin-bottom: 5px; /* Ajusta el espaciado si es necesario */
    display: inline-flex;
}

.menu a{
    color: #fff;
    line-height: 2.5em;
}

.menu th:hover:not(.no-hover){
    background-color: #94c4f7;
}

.menu button[type="submit"]{
    width: auto;
}

.menu th{
    border-radius: 8px;
    border: 2px solid #fff;
    padding: 0px;
}

.cerrar-sesion {
    display: block;
    text-align: right;
    color: #007bff;
    text-decoration: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    text-align: center;
}

table.no-margin{
    margin-bottom: 0px;
}

th, td {
    padding: 10px;
}

th {
    background-color: #007bff;
    color: #fff;
    white-space: nowrap;
}

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

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