body {
    margin: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../../imagenes/fondo_login.png');
    background-size: cover;       
    background-position: center;
    background-repeat: no-repeat; 
    background-attachment: fixed; 
}

.container {
    display: flex;
    width: 900px;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.left {
    flex: 1;
    background: linear-gradient(135deg, #235e51, #2a7869);
    background-image: url('../../imagenes/fondo_login2.png');  
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 40px;
    text-align: center;
    border: 6px solid #fff;     
}

.left img {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.left h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.left p {
    max-width: 400px;
    line-height: 1.5;
    opacity: 0.9;
}

.right {
    flex: 1;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    width: 320px;
    padding: 30px;
}

.login-box h2 {
    color: #235e51;
    margin-bottom: 20px;
    text-align: center;
}

label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

input[type="text"], 
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}

input[type="text"]:focus, 
input[type="password"]:focus {
    border-color: #235e51;
    box-shadow: 0 0 5px rgba(35,94,81,0.5);
}

.btn {
    background: #235e51;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: 0.3s;
}

.btn:hover {
    background: #1e4a42;
    transform: scale(1.05);
}

.alert {
    background: #f44336;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
}