@charset "UTF-8";

/* Agrega más reglas de estilo según sea necesario */
body, html {
    font-family: Arial, sans-serif;
    height: 100%;
    margin: 0;
	display: flex;
    flex-direction: column;
	 padding: 0;
}


header {
    background-color: white;
    color: #333;
    text-align: center; 
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

header img {
    max-width: 100%;
    height: auto;
}

nav {
    margin-left: 20px;
}

nav ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #333;
    color: white;
    text-decoration: none;
}

.success-message {
    background-color: #4CAF50;
    color: white;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 0px;
}

.error-message {
    background-color: #f44336;
    color: white;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 0px;
}

.messages {
    position: absolute;
    top: 29px;
    left: 10px;
    width: 100%;
    z-index: 1000;
}


.background {
    display: grid;
    grid-template-columns: 3fr 1fr; /* Divide el contenedor en 3/4 y 1/4 */
    height: 100vh;
    align-items: center; /* Centra el contenido verticalmente */	
	position: relative;
}

.form-container {
    min-width: 400px; /* Ajusta el valor según el diseño */
    max-width: 600px; /* Limita el ancho máximo si es necesario */
    width: 100%;
    background: rgba(255, 255, 255, 0.9); /* Fondo semi-transparente para el formulario */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center; /* Centrar horizontalmente */
    z-index: 10;
    position: relative;
    
    max-height: 80vh; /* Limita la altura para evitar que el contenedor crezca demasiado */	
    overflow-y: auto; /* Añadir scroll si es necesario */
	
	font-size: 14px; /* Ajustar tamaño de fuente general del formulario */

}


.user-menu {
    position: absolute; 
    right: 70px;
    top: 0px;
    padding: 20px;
    width: auto; /* Ajustar según sea necesario */
    background: rgba(255, 255, 255, 0.8);
    color: #000;
	z-index: 5; /* Ajusta el z-index para que esté debajo del formulario */
}

.user-menu a {
    color: inherit; /* Hereda el color del texto del contenedor padre */
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 1px;
    transition: background-color 0.3s, color 0.3s;
}

.user-menu a:hover {
    background-color: #666; /* Fondo más oscuro cuando se pasa el ratón */
    color: #fff;
}


.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border: 1px solid #ccc;
    padding: 0px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}



.left {
    flex: 1;
    padding: 0px;
}

.left img {
    max-width: 100%;
    height: auto;
}

.right {
    flex: 1;
    padding: 10px;
}

form {

    max-width: 100%;
	width: 100%; /* Que ocupe el 100% del contenedor disponible */
    margin: 0 auto;
    padding: 10px; /* Agrega un padding adicional */
    background-color: rgba(255, 255, 255, 0.95); /* Fondo semi-transparente para el formulario */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    position: relative; /* Asegura que se superponga correctamente */
    z-index: 10; /* Asegura que esté encima de otros elementos */
}

/* Ajustar los elementos dentro del formulario */
form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
	font-size: 14px;
}


.form-container #login-form, .form-container #register-form {
    width: 100%; /* Ocupa todo el espacio disponible */
    max-width: 100%; /* Evita desbordes */
    height: 100%; /* Ambos formularios ocupan el mismo espacio */
}

label {
    display: block;
    margin-bottom: 10px;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
}

#captcha {
    background-color: #f5f5f5;
    padding: 10px;
    text-align: center;
}

#captcha img {
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

#captcha input {
    width: 100%;
}

form button {
    width: 100%;
	padding: 10px;
    margin-bottom: 15px;
	font-size: 14px; /* Tamaño de fuente más pequeño para el botón */
}
}


form input {
    width: 100%;  
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px;
    background-color: #fff;
    height: 25px;
    font-size: 14px;
    line-height: 42px;
	margin-bottom: 10px;
}

.select2-container--default .select2-selection--single {
    height: 40px; /* Ajusta la altura del control */
    line-height: 40px;
    padding: 0 10px;
	width: 100%; /* Asegura que el selector ocupe todo el ancho disponible */
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px; /* Asegúrate de que el texto esté centrado */
    font-weight: bold; /* Hace el texto del país más visible */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    position: absolute;
    right: 1px;
    top: 1px;
    width: 60px;
}

.select2-container {
    width: 100% !important;
}

.img-flag {
    height: 15px;
    width: auto;
    margin-right: 5px;
    vertical-align: middle;
}

button {
	margin-top: 10px;
    width: 100%; /* Asegura que los botones ocupen todo el ancho disponible */
    background-color: #666;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
	position: relative; /* Necesario para aplicar z-index */
    z-index: 20; /* Asegura que estén por encima del fondo */
}

button:hover {
    background-color: #455555;
}

button {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

button:active {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(2px);
}

button {
    transition: all 0.3s ease-in-out;
}

button:hover {
    transform: scale(1.05);
}

.image-container {
	max-width: 1120px; /* Fija un valor máximo si es necesario */
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
}

.overlay-text {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.overlay-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 1.2rem;
}
select#country {
    color: #333; /* Cambia el color del texto */
    font-weight: bold; /* Para hacer el texto más visible */
}

.sidebar-footer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh; /* Ocupa todo el alto de la página */
    width: 200px; /* Ajusta el ancho de la barra lateral */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    color: white;
    padding: 20px;
    box-sizing: border-box;
    z-index: 15;
}

.sidebar-footer h5 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #fff; /* Aumenta el contraste */
}

.sidebar-footer a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: normal; /* Distinguir el texto de los títulos */
}

.sidebar-footer a:hover {
    text-decoration: underline;
}
.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 15px; /* Espacio entre los íconos */
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 24px; /* Ajusta el tamaño de los íconos */
    margin-right: 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ffcc00; /* Cambia el color al pasar el ratón */
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
	margin-top: 10px; /* Reducir espacio antes del reCAPTCHA */
}
/* Estilos para el contenedor del checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

/* Estilos para el contenedor del checkbox y el texto */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Estilos del checkbox */
.checkbox-wrapper input[type="checkbox"] {
    margin-right: -10px; /* Ajusta el espacio entre el checkbox y el texto */
    margin-top: 15px;
    transform: scale(1.8); /* Ajusta el tamaño del checkbox */
}

/* Estilos del label y los enlaces */
.checkbox-wrapper label {
    font-size: 14px; /* Ajusta el tamaño del texto */
    line-height: 1.5; /* Espaciado vertical */
    display: flex;
    flex-wrap: wrap; /* Para ajustar el texto en dispositivos pequeños */
}

.checkbox-wrapper a {
    color: #333; /* Color de los enlaces */
    text-decoration: underline;
}

.checkbox-wrapper a:hover {
    color: #007bff; /* Color del enlace al pasar el ratón */
}


@media only screen and (max-width: 768px) {
    .background {
        grid-template-columns: 1fr;
    }

    .form-container {
        width: 100%;
        padding: 20px;
    }

    button {
        font-size: 14px;
        padding: 10px 15px;
    }

    .menu, .user-menu {
        position: relative;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        padding: 10px;
    }

    .image-container {
        height: 50vh;
    }

    .overlay-text {
        top: 50%;
        font-size: 1rem;
    }

    .overlay-text h1 {
        font-size: 1.5rem;
    }

    .overlay-text p {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .menu, .user-menu {
        display: flex;
        flex-direction: column;
    }

    button {
        font-size: 12px;
    }

    .form-container {
        padding: 10px;
    }

    .overlay-text h1 {
        font-size: 1.2rem;
    }

    .overlay-text p {
        font-size: 0.9rem;
    }
}
