/* assets/principal/css/login.css */

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa; /* Color de fondo general */
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Columna izquierda - Formulario */
.login-form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    background-color: #fff;
}

.login-form-container {
    max-width: 450px;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-icon {
    width: 40px; /* Ajusta según el tamaño de tu logo */
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

.form-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #6c757d;
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f7f7f7;
    transition: background-color 0.3s, border-color 0.3s;
}

.form-group input:focus {
    background-color: #fff;
    border-color: #ffd700; /* Un amarillo dorado */
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: #555;
}

.forgot-password-link {
    font-size: 0.9rem;
    color: #007bff;
    text-decoration: none;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background-color: #ffeb3b; /* Amarillo brillante */
    color: #333;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #fdd835; /* Un amarillo un poco más oscuro */
}

.register-link {
    text-align: center;
    margin-top: 2rem;
    color: #6c757d;
}

.register-link a {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}


/* Columna derecha - Imagen */
.login-image-column {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1582719508461-905c673771fd?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
}

/* Media Queries para responsividad */
@media (max-width: 992px) {
    .login-image-column {
        display: none; /* Ocultar la imagen en tablets y móviles */
    }
    
    .login-form-column {
        flex: 2; /* Que el formulario ocupe todo el espacio */
    }
}

@media (max-width: 576px) {
    .login-form-column {
        padding: 2rem;
    }

    .form-header h1 {
        font-size: 2rem;
    }
}
