body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    letter-spacing: -0.02rem; /* Ajusta el valor según tu preferencia */
}

.password-container {
    position: relative;
}

.password-container input {
    padding-right: 40px; /* Para dejar espacio para el botón */
}

.password-container button {
    position: absolute;
    right: 5px; /* Alinea el botón a la derecha */
    top: 50%; /* Centra verticalmente */
    transform: translateY(-50%);
    padding: 5px; /* Espaciado interno del botón */
    font-size: 16px; /* Tamaño del icono */
    border: none;
    background-color: transparent; /* Fondo transparente */
    cursor: pointer;
    color: #666; /* Color del icono */
}
#username::placeholder,
#password::placeholder {
    font-family: 'Poppins', sans-serif; /* Usa la fuente Poppins */
    color: #999; /* Color de texto suave */
}

.container {
    display: flex;
    width: 800px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.container {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease; /* Agrega transiciones para la opacidad y la transformación */
}


.container.show {
    opacity: 1;
    transform: translateY(0);
}


.login-section, .welcome-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-section {
    background-color: #fff;
}

.welcome-section {
    background-color: #333;
    color: #fff;
    text-align: center; /* Agregar esta línea para centrar el texto */

}

.welcome-section img {
    max-width: 110px;  /* Ajusta el tamaño del logo */

}

h1 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 3px;
    letter-spacing: -0.01rem;
}

.login-section p {
    margin-bottom: 20px;
    color: #666;
}

.login-section label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.login-section input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    justify-content: center;
}

.login-section input[type="text"],
.login-section input[type="password"] {
    width: calc(100% - 20px); /* Ajustar el ancho total del input */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f8f8f8; /* Cambiar el color de fondo del input usuario */
}


.options {
    display: flex;
    justify-content: flex-end; /* Alinea los elementos a la derecha */
    width: 100%;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #333;
    margin-right: 20px; /* Añade margen derecho para separar del enlace "¿Olvidaste tu contraseña?" */
}

.remember-me input {
    margin-right: 5px;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}


.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.button {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: 16px;  /* Asegúrate de que la fuente y el tamaño sean consistentes */
    font-family: 'Poppins', sans-serif;
}

.button:hover {
    background-color: #555;
}

.register-button {
    background-color: transparent;
    border: 1px solid #fff;
}

.register-button:hover {
    background-color: #fff;
    color: #000;
}

.espacio {
    margin-bottom: 20px;
    justify-content: center;
    color: #565656;
}

.centered-text {
    text-align: center;
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 90%;
        max-width: 500px;
    }

    .login-section, .welcome-section {
        padding: 20px;
    }

    .welcome-section img {
        max-width: 80px;  /* Ajusta el tamaño del logo para dispositivos pequeños */
    }

    h1 {
        font-size: 1.5em;
    }

    .options {
        flex-direction: column;
        align-items: flex-start;
    }

    .options a {
        margin-top: 10px;
    }

    .button-container {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2em;
    }

    .button {
        padding: 8px 16px;
    }
}
