/* Estilos globales */
a {
    color: inherit; /* Mantiene el color del texto donde está el enlace */
    text-decoration: none; /* Elimina el subrayado */
}

a:hover {
    color: inherit; /* Mantiene el color también al pasar el cursor */
    text-decoration: none; /* No subrayar al pasar el cursor */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Archivo', sans-serif;
    padding: 20px;
    background-color: #f4f4f4;
}

/* Estilos del header */
header {
    background-color: #ffffff;
    padding: 10px 20px;
    position: fixed; /* Fija el header en la parte superior */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Asegura que el header esté por encima de otros elementos */
}

.create-account {
    display: flex;
    align-items: center;
    background-color: #231f20;
    padding: 5px 10px;
    color: white;
    margin-left: 20px;
    cursor: pointer;
    height: 60px;
}

.create-account .icon {
    width: 25px;
    height: 27px;
    margin-right: 5px;
}

.create-account span {
    color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Imagen de logo a la izquierda */
.logo {
    max-width: 116px;
    max-height: 36px;
}

/* Contenedor de las opciones a la derecha */
.header-options {
    display: flex;
    align-items: center;
}

/* Estilos para cada icono */
.icon {
    margin-left: 20px;
    height: 27px;
}

/* Opción 1 (icono con ancho específico) */
.icon:nth-of-type(1) {
    width: 28px;
}

/* Selector de idioma */
.language-selector {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.language-selector span {
    margin-left: 5px;
}

.language-selector .triangle {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000;
    margin-left: 5px;
}

/* Estilos del menú desplegable */
.language-selector .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    list-style-type: none;
    padding: 5px;
    width: 50px;
}

.language-selector:hover .dropdown {
    display: block;
	background-color: #f4f4f4; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
	width: 85px;
}

.language-selector .dropdown li {
    padding: 5px; 
}

.language-selector .dropdown li a {
    text-decoration: none;
    color: black;
}

.language-selector .dropdown li a:hover {
    color: #4CAF50;
}

/* Añadimos un margen superior a la sección de contenido para evitar que se monte sobre el header */
section.content {
    flex: 1; /* Permite que la sección de contenido crezca para ocupar el espacio disponible */
    display: flex;
    width: 100%;
    margin-top: 100px; /* Ajustamos para dejar espacio al header */
}


/* Lado izquierdo (imagen) */
.left-side {
    background-color: #f26e21;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

/* Imagen decorativa en el lado izquierdo */
.left-side img {
    max-width: 90%;
    height: 80%;
}

/* Lado derecho (formulario) */
.right-side {
    background-color: white;
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100%); 
}


footer {
    background-color: #231f20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    height: 60px;
}

/* Lado izquierdo del footer */
.footer-left {
    display: flex;
    align-items: center;
	justify-content: center;
    width: 50%;
}

.footer-left .logo {
    height: 30px; /* Ajusta la altura de la imagen del logo si es necesario */
    margin-right: 10px;
}

.footer-left span {
    font-family: 'Archivo', sans-serif;
    font-size: 12.16px;
    color: #7d7a7a;
}

/* Lado derecho del footer */
.footer-right {
    display: flex;
    width: 50%;
	justify-content: center;
}

.footer-right img {
    height: 21px;
    margin-left: 10px; /* Separación entre las imágenes */
}


/* Estilo para el Título */
h1 {
    font-size: 38px;
    font-family: 'Archivo', sans-serif;
    font-weight: 600; /* SemiBold */
    margin-bottom: 10px;
}

/* Estilo para el texto de introducción */
p {
    font-size: 18px;
    font-family: 'Archivo', sans-serif;
    font-weight: 600; /* SemiBold */
    margin-bottom: 30px;
}

/* Estilos de grupo de entrada */
.input-group {
    margin-bottom: 30px;
    position: relative;
}

/* Tamaño máximo para el formulario y sus campos */
#emailLoginForm {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

#emailLoginForm input[type="email"] {
    max-width: 420px;
}

.input-label {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-weight: 400; /* Regular */
    font-size: 12px;
    color: #7e8691;
    margin-bottom: 5px;
}

/* Estilos para el campo de contraseña */
input[type="password"] {
    padding-left: 40px;
    width: 100%;
    height: 56px;
    font-size: 18px;
    font-family: 'Archivo', sans-serif;
    font-weight: 400; /* Regular */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Estilos para el campo de texto */
input[type="text"] {
    padding-left: 40px;
    width: 100%;
    height: 56px;
    font-size: 18px;
    font-family: 'Archivo', sans-serif;
    font-weight: 400; /* Regular */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Estilos para el campo de email */
input[type="email"] {
    padding-left: 40px;
    width: 100%;
    height: 56px;
    font-size: 18px;
    font-family: 'Archivo', sans-serif;
    font-weight: 400; /* Regular */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.error {
    font-size: 12px;
    font-family: 'Archivo', sans-serif;
    font-weight: 400; /* Regular */
    color: red;
    position: absolute;
    bottom: -18px;
    left: 0;
}

/* Estilo para la ayuda de contraseña y enlace */
.password-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.password-help .error {
    bottom: auto;
    position: relative;
}

.password-help a {
    font-size: 12px;
    font-family: 'Archivo', sans-serif;
    font-weight: 600; /* SemiBold */
    color: black;
    text-decoration: none;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 26px;
  height: 18px;
}

/* Botón de Ingresar */
button {
    width: 100%;
    height: 56px;
    background-color: #f26e21;
    color: white;
    font-size: 18px;
    font-family: 'Archivo', sans-serif;
    font-weight: 600; /* SemiBold */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #e05d1a;
}

/* Barra horizontal */
.horizontal-bar-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.horizontal-bar {
    flex: 1;
    border: none;
    border-top: 1px solid #ccc; /* Cambia el color según prefieras */
    margin: 0 10px; /* Espaciado entre la barra y el texto */
}

.or-text {
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
}

/* Botones de ingreso social */
.social-buttons {
    display: flex;
    justify-content: center; /* Centrar los botones en el contenedor */
    margin: 10px 0;
}

.social-button {
    display: flex; /* Habilitar flexbox en el botón */
    align-items: center; /* Centrar verticalmente los elementos dentro del botón */
    justify-content: center; /* Centrar horizontalmente los elementos dentro del botón */
    background-color: white;
    color: black;
    font-family: 'Archivo', sans-serif;
    font-weight: 600; /* Archivo SemiBold */
    font-size: 16px;
    height: 57.01px;
    flex: 1; /* Para que todos los botones ocupen el mismo espacio */
    margin: 0 5px; /* Espacio entre los botones */
    border: 1px solid #ccc; /* Opcional: agrega borde */
    cursor: pointer;
    padding: 0 10px; /* Añadir un poco de padding horizontal */
}

.social-button img {
    margin-right: 8px; /* Espacio entre la imagen y el texto */
}



/* Pregunta de cuenta */
.account-question {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.account-text {
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
}

/* Botón para crear cuenta */
.create-account-button {
    background-color: #231f20;
    color: white;
    font-family: 'Archivo', sans-serif;
    font-weight: 600; /* Archivo SemiBold */
    font-size: 18px;
    height: 56px;
    width: 100%; /* Opcional: para ocupar todo el ancho */
    margin: 10px 0; /* Espacio entre el botón y otros elementos */
    cursor: pointer;
}

/* Texto reCAPTCHA */
.recaptcha-text,
.recaptcha-info {
    font-family: 'Archivo', sans-serif;
    font-size: 12.16px;
    margin: 5px 0; /* Espaciado entre los textos */
}

/* modal usuario */
/* Modal - Pantalla completa */
        .modal {
            display: none; /* Oculto por defecto */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5); /* Fondo oscuro */
            z-index: 999;
        }

        /* Contenido del modal */
        .modal-content {
            background: white;
            width: 350px;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        }

        /* Botón dentro del modal */
        .modal button {
            background-color: #008CBA;
            color: white;
            border: none;
            padding: 10px 15px;
            margin-top: 10px;
            cursor: pointer;
            font-size: 16px;
            border-radius: 5px;
        }

        .modal input {
            width: 90%;
            padding: 8px;
            margin-top: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 16px;
        }


@media screen and (max-width: 768px) {
    .header-container {
       /* flex-direction: column; */
    }

    section.content {
        flex-direction: column;
    }
    
    .left-side,
    .right-side {
        width: 100%;
        height: auto;
    }

    .left-side {
        order: -1; /* Mostrar la imagen sobre el formulario */
        padding: 20px 0;
        text-align: center;
    }

    .left-side img {
        max-width: 100%;
        height: auto;
    }

    .right-side {
        padding: 20px;
    }

    .header-options .create-account {
        display: none; /* Opcional para pantallas pequeñas */
    }
    
    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
		height: auto;
    }
    
    /* Centrar el contenido de .footer-left (logo y derechos) */
    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        margin-bottom: 10px; /* Espacio entre el logo y las redes sociales */
    }

    .footer-left img {
        max-width: 80%; /* Ajusta el tamaño del logo */
        height: auto;
        margin-bottom: 10px; /* Espacio debajo del logo */
    }

    /* Centrar las redes sociales en .footer-right */
    .footer-right {
        display: flex;
        justify-content: center;
        flex-wrap: wrap; /* Asegura que las imágenes de redes sociales se ajusten */
        gap: 10px; /* Espacio entre los iconos */
        width: 100%;
    }

    /* Ajustar las imágenes de las redes sociales */
    .footer-right img {
        max-width: 40px; /* Ajustar el tamaño de los iconos de redes sociales */
        height: auto;
    }
}
