body {
    font-family: Arial, sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    flex-direction: column; /* Para centrar verticalmente todo el contenido */
}

.login-container {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}

h2 {
    color: #3f51b5;
    margin-bottom: 25px;
    font-weight: 600;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button[type="submit"] {
    background-color: #00bcd4;
    color: white;
    padding: 12px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0097a7;
}

.error-message {
    color: #f44336;
    background-color: #ffdddd;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #f44336;
}

.footer-note {
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

/* -------------------------------------- */
/* Estilos para Dashboards (Páginas internas) */
.header {
    background-color: #3f51b5;
    color: white;
    padding: 15px 40px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.header h1 {
    font-size: 1.5em;
    margin: 0;
}
.header a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid white;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.header a:hover {
    background-color: #5c6bc0;
}
.content-body {
    padding: 20px 40px;
    width: 100%;
    max-width: 1000px; /* Limita el ancho del contenido principal */
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}