/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/



/* 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;
	font-family: 'Roboto';
}

/* 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://fgoriopla.virtualworld.com.ar/wp-content/uploads/2025/10/f1ab06939c7b8cdc9b0e39c15dea538ce81cab13.png') !important;
    background-size: cover;
    background-position: center;
}

/* Contenedor del formulario (columna izquierda) */

.custom-login-logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: 25px;
}
#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;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

/* Cambiar el logo de WordPress */
.login h1 a {
    background-image: url('https://fgoriopla.virtualworld.com.ar/wp-content/uploads/2025/10/Rioplatense-Logo-N.png');
    width: 300px; 
    background-size: contain;
    background-position: center left;
    background-repeat: no-repeat;
    display: block;
    margin: 0;
    text-indent: -9999px;
}

.login .button-primary, .login .button-primary.focus, .login .button-primary.hover, .login .button-primary:focus{
	background: #AF2D2E !important;
	border-color: #AF2D2E !important;
}

.login .button-primary:hover, .login .button.hover, .login .button:hover{
	background: #1D1D1B !important;
	border-color: #1D1D1B !important;
}

.login .button-secondary{
	color: #AF2D2E !important;
}
.login .button-secondary:hover{
	background: transparent !important;
	border-color: transparent !important;
	color: #1D1D1B !important;
}

.login p.forgetmenot{
	display: ruby !important;
}

/* 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;
}

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

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

#login #nav a:hover {
    color: #AF2D2E;
    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%;
    }
}