.mensaje-emergente {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: darkcyan;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow:inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255), 0.3em 0.3em 1em rgba(10,93,102.3);  border-radius: 15px;
    display: none; /* Oculto por defecto */
    font-size: 14px;
    max-width: 300px;
    z-index: 1000;
}

.cerrar {
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
}


/* Estilo para el fondo oscuro */
.overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Color oscuro semi-transparente */
    z-index: 1; /* Detrás del popup */
}

/* Estilos para el popup */
.info-popup {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: slideDown 0.5s ease forwards;
    z-index: 2; /* Delante del overlay */
}

/* Animaciones */
@keyframes slideDown {
    from {
        top: -50px;
        opacity: 0;
    }
    to {
        top: 50px;
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        top: 50px;
        opacity: 1;
    }
    to {
        top: -50px;
        opacity: 0;
    }
}

.close{
    cursor: pointer;
    color: red;
}

       .form-container {
            background-color: #fff;
            padding: 20px 30px;
            width: 100%;
            max-width: 400px;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border: solid 5px;
            border-color: rgb(10,93,102);
        }

        /* Título */
        h2 {
            margin-bottom: 20px;
            color: rgb(100, 100, 105);
            text-align: center;
        }

        /* Estilos para cada input */
        .form-group {
            margin-bottom: 15px;
        }

        label {
            display: block;
            margin-bottom: 5px;
            color: #555;
        }

        input[type="text"],
        input[type="email"],
        input[type="number"],
        select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            outline: none;
            transition: border-color 0.3s;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="number"]:focus,
        select:focus {
            border-color: #5a9fd4;
        }

        /* Botón de envío */
        .submit-btn {
            width: 100%;
            padding: 10px;
            background-color: rgb(10,93,102);
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .submit-btn:hover {
            background-color: #fff;
            color: rgb(10,93,102);
            font-family: arial black;
            border: solid 2px;
            border-color: rgb(10,93,102);
        }