body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #01183b, #2a4e8a); /* Degradado de azul oscuro a azul claro */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    max-width: 900px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.left-section {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.logo {
    width: 100%;
    margin-bottom: auto;
}

h1 {
    font-size: 36px;
    color: #1877f2;
    margin: 0;
}

.description {
    font-size: 20px;
    color: #fffefe;
    line-height: 1.5;
    margin-top: 10px;
}

.login-box {
    background-color: #ffffffb7;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 350px;
    text-align: center;
}

input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.button {
    background-color: #1877f2;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
}

.button:hover {
    background-color: #165dc1;
}

.create-account {
    background-color: #42b72a;
}

.create-account:hover {
    background-color: #36a420;
}

.forgot-password {
    display: block;
    color: #1877f2;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 15px;
}

.forgot-password:hover {
    text-decoration: underline;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 15px 0;
}

/* General popup styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}

/* Form styles */
#register-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espaciado uniforme entre los elementos */
}

#register-form input[type="text"],
#register-form input[type="email"],
#register-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box; /* Asegura que el padding no afecte el tamaño total */
}

#register-form input:focus {
    border-color: #1877f2;
    outline: none;
}

/* Button styles */
#register-form button {
    background-color: #1877f2;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
}

#register-form button:hover {
    background-color: #165dc1;
}

/* Estilo para los campos de entrada en el popup */
#forgot-popup input[type="email"],
#forgot-popup input[type="text"],
#forgot-popup input[type="password"] {
    width: 100%; /* Ocupa todo el ancho del contenedor */
    padding: 15px; /* Más padding para mayor comodidad */
    margin-bottom: 20px; /* Espaciado uniforme entre campos */
    font-size: 16px; /* Tamaño de fuente adecuado */
    border: 1px solid #ddd; /* Borde gris claro */
    border-radius: 6px; /* Bordes ligeramente más redondeados */
    box-sizing: border-box; /* Incluye el padding en el ancho total */
}

/* Efecto de foco */
#forgot-popup input:focus {
    border-color: #1877f2; /* Azul claro para el borde al enfocar */
    outline: none; /* Elimina el contorno predeterminado */
    box-shadow: 0 0 5px rgba(24, 119, 242, 0.5); /* Efecto de sombra */
}

/* Botón en el popup */
#forgot-popup button {
    background-color: #1877f2; /* Azul predeterminado */
    color: #fff;
    padding: 15px; /* Botón más alto para mejor visual */
    font-size: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 20px;
}

#forgot-popup button:hover {
    background-color: #165dc1; /* Azul más oscuro al pasar el cursor */
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .left-section {
        text-align: center;
        margin-bottom: 20px;
    }

    .description {
        font-size: 18px;
    }

    .login-box {
        max-width: 100%;
    }
}



