/*
Template:       maloch
Theme Name:     Maloch Child
Theme URI:      https://themeforest.net/user/LaStudio/portfolio?ref=LaStudio
Author:         LA Studio
Author URI:     https://themeforest.net/user/LaStudio?ref=LaStudio
Description:    Maloch - Multipurpose WooCommerce Theme
Version:        1.0.0
Requires at least: 5.9
Requires PHP:   7.0
Tags:           Sport Style, Retro style, Urban style, Boho style, Furniture, Sneakers, Plants & Garden Services, Books Store, Auto parts, Kids & Baby, Bright Cosmetic
License:        GNU General Public License
License URI:    licence/GPL.txt
Text Domain:    maloch-child
Domain Path:    /languages/
Elementor tested up to: 3.28.3
Elementor Pro tested up to: 3.28.3
WooCommerce tested up to: 9.8.1
*/



/*
 * HOJA DE ESTILOS PARA LA PÁGINA DE LOGIN DE WORDPRESS
 */

/* --- 1. Diseño de Pantalla Dividida --- */

/* Fondo blanco para la columna del formulario */
body.login {
    background: #fff;
}

/* Columna de la imagen (derecha) */
body.login::after {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 58%; /* Ajusta este ancho */
    height: 100vh;
    z-index: 1;
    background-image: url('https://goat-rediseno.codivit.com/wp-content/uploads/2026/02/AGF-387.jpeg') !important;
    background-size: cover;
    background-position: center;
}

/* Contenedor del formulario (columna izquierda) */
#login {
    width: 42%; /* El restante de la columna de imagen */
    max-width: 500px;
    min-width: 320px;
    height: 100vh;
    margin: 0;
    padding: 0 4%; /* Espaciado interno */
    background: #fff;
    box-shadow: none;
    z-index: 10;
    position: relative;
    
    /* Centra el formulario verticalmente */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- 2. Ocultar Elementos por Defecto --- */

/* Oculta el logo de WordPress */
#login h1,
#login h1 a {
    display: none;
}

/* Oculta el selector de idioma (si está activo) */
.login .language-switcher {
    display: none;
}


/* --- 3. Estilos del Encabezado Personalizado --- */

.login-header-custom {
    margin-bottom: 24px;
}

.login-header-custom .welcome-back {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.login-header-custom h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}


/* --- 4. Estilos del Formulario --- */

#loginform {
    padding: 0;
    margin-top: 0;
    background: none;
    border: none;
    box-shadow: none;
}

/* Estilo de las etiquetas (Username, Password) */
#loginform label {
    font-size: 14px;
    color: #444;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

/* Estilo de los campos de texto */
#loginform input[type="text"],
#loginform input[type="password"] {
    font-size: 16px;
    padding: 12px 10px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Estilo del checkbox "Recuérdame" */
.login .forgetmenot {
    float: none;
    margin-top: 15px;
    margin-bottom: 25px;
}
.login .forgetmenot label {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 0;
}
.login .forgetmenot input[type="checkbox"] {
    border-radius: 4px;
    border-color: #ddd;
}

/* Estilo del botón "Acceder" (Log In) */
#loginform .wp-submit {
    width: 100%;
    height: auto;
    background: #000000;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: none;
    box-shadow: none;
    transition: background 0.2s ease-in-out;
}

#loginform .wp-submit:hover {
    background: #d95a4f; /* Color más oscuro al pasar el ratón */
}

/* Estilo del enlace "¿Has olvidado tu contraseña?" */
#login #nav {
    margin: 20px 0 0 0;
    padding: 0;
}

#login #nav a {
    color: #000000;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}

#login #nav a:hover {
    color: #000000;
    text-decoration: underline;
}


/* --- 5. Responsividad (Móvil) --- */

@media (max-width: 768px) {
    /* Oculta la imagen de fondo en pantallas pequeñas */
    body.login::after {
        display: none;
    }

    /* Hace que el formulario ocupe toda la pantalla */
    #login {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 100vh;
        padding: 10% 8%;
    }
}