/* GESTIÓN EDS - Hoja de Estilos Global
    Versión: 1.0 
*/

:root {
    --brand-blue: #0f1c30;
    --brand-green: #a3cf62;
    --brand-cyan: #00b4d8;
    --bg-body: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
}

* {
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    margin: 0;
    background-color: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: var(--text-main);
}

.login-card {
    background: var(--card-bg);
    width: 1050px;
    max-width: 95vw;
    height: 650px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

/* Lado Izquierdo */
.branding-side {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-container {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    margin: 20px 0;
}

/* Formulario */
.form-side {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--brand-blue);
}

input {
    width: 100%;
    padding: 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--brand-green);
    background: #fff;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--brand-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--brand-green);
    color: var(--brand-blue);
}
@media (max-width: 992px) {
    .login-card {
        grid-template-columns: 1fr; /* Una sola columna en tablets y móviles */
        height: auto; /* Quitamos el alto fijo para que crezca con el contenido */
        max-width: 500px;
        margin: 20px auto;
    }

    .branding-side {
        padding: 30px;
        /* Opcional: si quieres ocultar los gráficos en móviles muy pequeños */
        display: none; 
    }

    .form-side {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    body {
        align-items: flex-start; /* Permite scroll si el cel es muy pequeño */
        padding: 10px;
    }

    .login-card {
        border-radius: 20px;
    }

    .form-side {
        padding: 30px 20px;
    }

    .form-side h2 {
        font-size: 1.5rem;
    }
    
    input {
        padding: 12px; /* Inputs un poco más pequeños en móviles */
    }
}
