/* Extraido de frontend/index.php (la CSP del proxy bloquea <style> en linea). */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f2f5;
}

.login-wrapper {
    display: flex;
    width: 900px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-image {
    background: linear-gradient(135deg, #32609F, #131116);
    color: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.login-image h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.login-image p {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.login-image img {
    width: 200px;
    margin-bottom: 1rem;
}

.login-form {
    flex: 1;
    padding: 3rem;
}

.login-form h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.login-form p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
}

.form-control {
    border-radius: 10px;
    padding: 0.8rem;
}

.login-btn {
    background: linear-gradient(135deg, #32609F, #131116);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s, color 0.3s;
}

.login-btn:hover {
    background: linear-gradient(135deg, #131116, #32609F);
    transform: scale(1.05);
    color: #fff;
}

.forgot-password {
    display: block;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: #2575fc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #6a11cb;
}

@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .login-image {
        padding: 1.5rem;
    }

    .login-form {
        padding: 2rem;
    }
}

.alert {
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.login-pie {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 0.85rem;
    color: #666;
    text-align: right;
}

.login-pie-enlace {
    text-decoration: none;
    color: #2575fc;
}
