/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #a8e6ff, #d0f0ff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Estilo del formulario */
.login-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
}

h1 {
    color: #0077b6;
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: bold;
    margin: 0.5rem 0 0.2rem;
    color: #005f8f;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #b0e0ff;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 1rem;
}

button {
    background: #0077b6;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
}

button:hover {
    background: #005f8f;
}

/* Mensajes de error */
.error {
    color: red;
    font-weight: bold;
    margin-bottom: 1rem;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* Encabezado */
header {
    text-align: center;
    padding: 20px;
    background: #0077b6;
    color: white;
    border-radius: 12px 12px 0 0;
}

/* Navegación */
nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    background: #005f8f;
    border-radius: 0 0 12px 12px;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    transition: 0.3s;
}

nav ul li a:hover {
    background: #003f5c;
    border-radius: 6px;
}

/* Contenido Principal */
main {
    padding: 20px;
    text-align: center;
}

h2 {
    color: #0077b6;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    background: #0077b6;
    color: white;
    border-radius: 0 0 12px 12px;
}