/* =========================================================
   LOGIN.CSS - Diseño de la página de inicio de sesión y contacto
========================================================= */

body {
    /* Centra la caja en el medio de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
}

/* --- SECCIÓN IZQUIERDA: INFORMACIÓN Y CONTACTO --- */
.info-section {
    background-color: var(--sidebar-bg);
    background-image: linear-gradient(135deg, var(--sidebar-bg) 0%, #1e293b 100%);
    color: white;
    padding: 50px 40px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-section img {
    max-width: 180px;
    margin-bottom: 30px;
}

.info-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--brand-orange);
}

.info-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-slate-300);
    margin-bottom: 20px;
}

.services-list {
    list-style: none;
    margin-bottom: 30px;
}

.services-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--brand-orange);
}

.contact-box h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.contact-box p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* --- SECCIÓN DERECHA: FORMULARIO DE LOGIN --- */
.login-section {
    padding: 50px 40px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-slate-800);
}

.login-section p.subtitle {
    color: var(--text-slate-500);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-slate-500);
    margin-bottom: 8px;
    font-weight: 600;
}

.client-link {
    text-align: center;
    margin-top: 25px;
}

.client-link a {
    color: var(--text-slate-500);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.client-link a:hover {
    color: var(--brand-orange);
}

/* =========================================================
   DISEÑO RESPONSIVO (CELULARES)
========================================================= */
@media screen and (max-width: 768px) {
    body {
        padding: 15px;
        align-items: flex-start; /* Evita que se corte arriba en celulares pequeños */
    }

    .login-wrapper {
        flex-direction: column;
    }

    .info-section, .login-section {
        width: 100%;
        padding: 40px 25px;
    }

    .info-section {
        text-align: center;
    }

    .info-section img {
        margin: 0 auto 20px auto;
    }

    .services-list li {
        justify-content: center;
    }

    .contact-box {
        text-align: left; /* Se mantiene a la izquierda para fácil lectura */
    }
}