@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,500&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

body {
    /* La imagen de fondo del login */
    background-image: url("https://img.freepik.com/free-vector/savanna-forest-dark-night_1308-14305.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Usamos min-height: 100vh; para asegurar que funcione bien incluso si hay poco contenido */
    min-height: 100vh; 
    padding: 20px; /* Padding para evitar que el formulario toque los bordes en móvil */
}

/* El contenedor principal que tiene el efecto Glassmorphism */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
    width: 100%; /* Ocupa todo el ancho disponible del .main */
    max-width: 400px; /* Máximo ancho para escritorio */
}

.form-container {
    width: 100%;
}

.title {
    text-align: center;
    margin: 10px 0 30px 0;
    font-size: 25px;
    font-weight: 800;
    color: #fff;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 15px;
}

.input {
    border-radius: 20px;
    border: 1px solid #c0c0c0;
    outline: 0;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.7);
    color: #000; /* Asegura que el texto se vea oscuro */
}
.input::placeholder {
    color: #747474; /* Color del placeholder */
}

.page-link {
    text-decoration: underline;
    margin: 0;
    color: #747474;
    margin-left: 10px;
}

.page-link-label {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #b9b9b9;
}

.page-link-label:hover {
    color: #000;
}

.form-btn {
    padding: 10px 15px;
    border-radius: 20px;
    border: 0;
    background: teal;
    color: white;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    font-weight: bold; /* Aseguramos que el texto del botón se vea fuerte */
}

.form-btn:active {
    box-shadow: none;
}

/* Estilos de enlaces */
.sign-up-label,
.login-label {
    margin: 0;
    font-size: 13px;
    color: #b9b9b9;
    text-align: center;
}
.sign-up-link {
    font-size: 13px;
    text-decoration: underline;
    color: #00ffff; /* Color más visible en el fondo oscuro */
    cursor: pointer;
    font-weight: 800;
}

/* Contenedor de Bot y Iframe - Adaptado para tu diseño */
.bot-info-container {
    margin-top: 25px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc; /* Asegura que el texto alrededor del iframe sea visible */
}

.bot-iframe-wrapper {
    /* Mantiene el iframe contenido y le da un aspecto responsivo */
    width: 100%; 
    height: 200px; /* AUMENTADO: Nueva altura para que quepa todo el contenido del bot */
    overflow: hidden; 
    margin-top: 15px;
    border-radius: 10px; /* Bordes redondeados para que coincida con el glassmorphism */
}

.bot-iframe-wrapper iframe {
    width: 100%; 
    height: 100%;
    border: none;
    display: block;
    background-color: transparent;
}

/* Responsividad (ajuste fino para el formulario en general) */
@media (max-width: 450px) {
    .container {
        padding: 20px;
    }
    .title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}
