* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    font-family: "Source Sans 3", sans-serif;
    display: flex;
    width: 100%;
    height: 100vh;
    background-color: #f0f3f6;

    
}

.login-container {
    background-color: #2e4a81;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
    
}

.login-header {
    margin-bottom: 30px;
}

.login-header img {
    max-width: 250px;
    margin-bottom: 15px;
}

.login-header h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
}

form {
    text-align: left;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #6699ff;
    box-shadow: 0 0 0 3px rgba(102, 153, 255, 0.2);
}

button{
    width: 100%;
    padding: 12px;
    background-color: rgb(7, 130, 245);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 1px;
    margin-top: 10px;
}

button:hover {
    background-color: #66728a;
}

.login-footer {
    margin-top: 25px;
}

.login-footer a {
    color: #6699ff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #e7e9ee;
    text-decoration: underline;
}

.imagen {
    width: 50%;
    height: 100%;
}

.imagen {
    width: 50%;
    height: 100vh;
}

.contenedor-login {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to top, #6699ff, #334d80);
}

/* ============================================= */
/* ESTILOS RESPONSIVOS */
/* ============================================= */

/* Para tablets y dispositivos más pequeños (menos de 992px) */
@media (max-width: 992px) {
    body {
        flex-direction: column; /* Apila los elementos verticalmente */
    }

    .imagen {
        display: none; /* Oculta la imagen del alcalde para ahorrar espacio */
    }

    .contenedor-login {
        width: 100%; /* El contenedor del login ocupa todo el ancho */
        height: 100%; /* Y toda la altura */
    }
}

/* Ajuste para móviles muy pequeños (menos de 480px) */
@media (max-width: 480px) {
    .login-container {
        padding: 25px; /* Reduce el padding para que no se vea tan apretado */
    }
}
