/* css/login.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- Configuración General --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    /* Quitamos el centrado y el fondo gris */
    min-height: 100vh;
    color: #333;
}

/* --- Contenedor Principal (AHORA PANTALLA COMPLETA) --- */
.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    /* Fondo degradado sutil (como el de Figma) */
    background: linear-gradient(100deg, #fdfcff 0%, #f0f2f7 100%);
    
    /* Eliminamos las propiedades de "panel" */
    /* (Se quitaron max-width, min-height, box-shadow, border-radius, background-color) */
}

/* --- Lado Izquierdo: Formulario --- */
.login-form-wrapper {
    flex-basis: 50%; /* Ocupa la mitad del espacio */
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centramos el formulario */
}

.login-form-content {
    width: 100%;
    max-width: 400px; /* Ancho máximo del formulario */
}

.logo-container {
    text-align: center; /* Alineado a la izquierda del formulario */
    margin-bottom: 30px;
}

.logo-container img {
    max-width: 300px;
    height: auto;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #aaa;
}

.input-group input {
    width: 100%;
    padding: 16px 16px 16px 50px; /* Espacio para el icono */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
    background-color: #fdfdfd; /* Fondo un poco más blanco */
}

.input-group input:focus {
    outline: none;
    border-color: #0d47a1; /* Azul de tu panel */
}

.btn-login {
    width: 100%;
    padding: 16px;
    background-color: #1a87b7;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background-color: #166a91;
}

.forgot-password {
    display: block;
    text-align: center; /* Alineado a la izquierda */
    margin-top: 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
}
.forgot-password:hover {
    text-decoration: underline;
}

.error-message {
    color: #d32f2f;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

/* --- Lado Derecho: Gráfico --- */
.login-graphic-wrapper {
    flex-basis: 50%; /* Ocupa la otra mitad */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Oculta partes del círculo azul */
    /* El fondo es el degradado del body */
}

.login-graphic-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    
    /* --- CAMBIOS AQUÍ --- */
    left: 0;  /* Alinea el círculo con el borde izquierdo de su contenedor (la mitad de la pantalla) */
    transform: translateY(-50%);
    width: 1200px;  /* Hazlo más grande */
    height: 1200px; /* Hazlo más grande */
    /* --- FIN DE CAMBIOS --- */

    background-color: #1a87b7;
    border-radius: 50%;
}

/* El círculo blanco interior */
.graphic-inner-circle {
    position: relative; /* Para que esté sobre el círculo azul */
    z-index: 2;
    width: 250px;
    height: 250px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.graphic-inner-circle svg {
    width: 120px;
    height: 120px;
    color: #1a87b7;
}

/* --- Diseño Responsivo (para móviles) --- */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-graphic-wrapper {
        display: none; /* Ocultamos el gráfico en móviles */
    }

    .login-form-wrapper {
        flex-basis: 100%;
        padding: 40px 30px;
        min-height: 100vh;
    }
}

h1, h2, h3, h4, strong, th, .btn-action, .navbar-nav .nav-link {
    font-weight: 600;
}